From 1517361a28d9ba06d86e4de4a98defdea98a3917 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 3 Aug 2021 09:02:32 +0200 Subject: [PATCH] Update run.sh --- cloudcommander/rootfs/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cloudcommander/rootfs/run.sh b/cloudcommander/rootfs/run.sh index 06c37f737..1a4640257 100644 --- a/cloudcommander/rootfs/run.sh +++ b/cloudcommander/rootfs/run.sh @@ -142,8 +142,10 @@ sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf mkdir -p /var/log/nginx && touch /var/log/nginx/error.log -CLOUDCMD_PREFIX=$(bashio::config 'do_not_use') -export CLOUDCMD_PREFIX +if bashio::config.has_value 'do_not_use'; then + CLOUDCMD_PREFIX=$(bashio::config 'do_not_use') + export CLOUDCMD_PREFIX +fi ############### # LAUNCH APPS #