mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 00:04:17 +00:00
Allow running without arguments
https://github.com/alexbelgium/hassio-addons/issues/565#issuecomment-1557319726
This commit is contained in:
1 parent
ed82dbcc38
commit
398c8acbbd
1 file changed
+5
-1
@@ -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