From 672675f82572410c4c17fcf67c2b9148dda8633a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 12 May 2021 11:46:18 +0200 Subject: [PATCH] Update run.sh --- joal/run.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/joal/run.sh b/joal/run.sh index b973000b1..fa292c629 100644 --- a/joal/run.sh +++ b/joal/run.sh @@ -13,8 +13,9 @@ rm /data/joal/jack-of* bashio::log.info "... Joal updated" mv -f /config.json /data/joal/ || true -java -jar /joal/joal.jar --joal-conf=/data/joal --spring.main.web-environment=true --server.port="8081" --joal.ui.path.prefix="joal" --joal.ui.secret-token=$TOKEN && bashio::log.info "Joal started with secret token $TOKEN..." \ +nohup java -jar /joal/joal.jar --joal-conf=/data/joal --spring.main.web-environment=true --server.port="8081" --joal.ui.path.prefix="joal" --joal.ui.secret-token=$TOKEN +& bashio::log.info "Joal started with secret token $TOKEN..." \ # Wait for transmission to become available -& bashio::net.wait_for 8081 localhost 900 \ +&& bashio::net.wait_for 8081 localhost 900 \ && bashio::log.info "Starting NGinx..." \ && exec nginx