From 6c177a6756a4aecb4e9f339988b538a8fa55d1e1 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 12 May 2021 11:37:34 +0200 Subject: [PATCH] Update run.sh --- joal/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/joal/run.sh b/joal/run.sh index 6ed7cc37d..b973000b1 100644 --- a/joal/run.sh +++ b/joal/run.sh @@ -7,7 +7,7 @@ mv -f /data/joal/config.json / || true curl -s -S -L -o /tmp/joal.tar.gz "https://github.com/anthonyraymond/joal/releases/download/2.1.24/joal.tar.gz" >/dev/null mkdir -p /data/joal -tar zxvf /tmp/joal.tar.gz -C /data/joal +tar zxvf /tmp/joal.tar.gz -C /data/joal >/dev/null chown -R $(id -u):$(id -g) /data/joal rm /data/joal/jack-of* bashio::log.info "... Joal updated" @@ -15,6 +15,6 @@ 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..." \ # 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