mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-23 01:01:50 +02: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 #
|
# Launch App #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
|
# Go to folder
|
||||||
cd /data || true
|
cd /data || true
|
||||||
|
|
||||||
|
# Fetch commands
|
||||||
CMD_ARGUMENTS="$(bashio::config "CMD_ARGUMENTS")"
|
CMD_ARGUMENTS="$(bashio::config "CMD_ARGUMENTS")"
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
bashio::log.info "Starting the app with arguments $CMD_ARGUMENTS"
|
bashio::log.info "Starting the app with arguments $CMD_ARGUMENTS"
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# Add docker-entrypoint command
|
||||||
docker-entrypoint.sh $CMD_ARGUMENTS
|
eval "${AZE//node/docker-entrypoint.sh node}"
|
||||||
|
|||||||
Reference in New Issue
Block a user