mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-13 19:10:35 +02:00
Allow running without arguments
https://github.com/alexbelgium/hassio-addons/issues/565#issuecomment-1557319726
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user