mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Execute several commands
https://github.com/alexbelgium/hassio-addons/issues/747#issuecomment-1563815894
This commit is contained in:
@@ -31,13 +31,15 @@ source "$CONFIG_HOME"/config.env
|
||||
# Launch App #
|
||||
##############
|
||||
|
||||
# Go to folder
|
||||
cd /data || true
|
||||
|
||||
# Fetch commands
|
||||
CMD_ARGUMENTS="$(bashio::config "CMD_ARGUMENTS")"
|
||||
|
||||
echo " "
|
||||
bashio::log.info "Starting the app with arguments $CMD_ARGUMENTS"
|
||||
echo " "
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
docker-entrypoint.sh $CMD_ARGUMENTS
|
||||
# Add docker-entrypoint command
|
||||
eval "${AZE//node/docker-entrypoint.sh node}"
|
||||
|
||||
Reference in New Issue
Block a user