Actualiser cookcli/rootfs/etc/services.d/cookcli/run
This commit is contained in:
parent
0d7ae3f57e
commit
740a842869
|
|
@ -4,8 +4,6 @@ set -e
|
|||
RECIPES_PATH=$(bashio::config 'recipes_path')
|
||||
PORT=9081
|
||||
|
||||
bashio::log.info "Chemin Ingress: ${HA_TOKEN}"
|
||||
|
||||
# Récupérer le chemin Ingress
|
||||
INGRESS_TOKEN=$(bashio::config 'ingress_token')
|
||||
if [ -n "$INGRESS_TOKEN" ]; then
|
||||
|
|
@ -22,7 +20,7 @@ if [ -n "$INGRESS_PATH" ]; then
|
|||
exec cook server "${RECIPES_PATH}" \
|
||||
--port "${PORT}" \
|
||||
--host "0.0.0.0" \
|
||||
--url-prefix "${INGRESS_PATH}" \
|
||||
--url-prefix "./" \
|
||||
>> /proc/1/fd/1 2>&1
|
||||
else
|
||||
exec cook server "${RECIPES_PATH}" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue