From ec514e10e52ec2f741816337ebdff5e5ff984978 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 Aug 2021 19:47:28 +0200 Subject: [PATCH] Update run.sh --- cloudcommander/rootfs/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudcommander/rootfs/run.sh b/cloudcommander/rootfs/run.sh index 159db1bc2..a00e7521b 100644 --- a/cloudcommander/rootfs/run.sh +++ b/cloudcommander/rootfs/run.sh @@ -157,7 +157,7 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log ############### if bashio::config.has_value 'CUSTOM_OPTIONS'; then - CUSTOMOPTIONS=$(bashio::config 'CUSTOM_OPTIONS') + CUSTOMOPTIONS=" $(bashio::config 'CUSTOM_OPTIONS')" else CUSTOMOPTIONS="" fi @@ -170,6 +170,6 @@ fi bashio::log.info "Starting..." -./usr/src/app/bin/cloudcmd.mjs '"'$DROPBOX_TOKEN $CUSTOMOPTIONS'"' & bashio::net.wait_for 8000 localhost 900 || true +./usr/src/app/bin/cloudcmd.mjs '"'$DROPBOX_TOKEN$CUSTOMOPTIONS'"' & bashio::net.wait_for 8000 localhost 900 || true bashio::log.info "Started !" exec nginx