This commit is contained in:
Alexandre
2023-05-22 17:17:40 +02:00
3 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
### 2.18.2-7 (22-05-2023)
- Minor bugs fixed
### 2.18.2-6 (21-05-2023) ### 2.18.2-6 (21-05-2023)
- Require unprotected - Require unprotected
- Correct healthcheck - Correct healthcheck

View File

@@ -15,7 +15,7 @@
"image": "ghcr.io/alexbelgium/portainer_agent-{arch}", "image": "ghcr.io/alexbelgium/portainer_agent-{arch}",
"init": false, "init": false,
"map": [ "map": [
"config", "config:rw",
"share:rw", "share:rw",
"ssl" "ssl"
], ],
@@ -44,5 +44,5 @@
}, },
"slug": "portainer_agent", "slug": "portainer_agent",
"url": "https://github.com/alexbelgium/hassio-addons", "url": "https://github.com/alexbelgium/hassio-addons",
"version": "2.18.2-6" "version": "2.18.2-7"
} }

View File

@@ -11,4 +11,8 @@ bashio::log.info "Starting app"
# Launch app # Launch app
cd /app || true cd /app || true
./agent "$PORTAINER_AGENT_ARGS" 2>/dev/null || ./agent if bashio::config.has_value 'PORTAINER_AGENT_ARGS'; then
./agent "$PORTAINER_AGENT_ARGS" 2>/dev/null
else
./agent
fi