From d72eee22e8fcabd23aacbf75060fcf8f92efbf6d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 9 Apr 2021 22:13:44 +0200 Subject: [PATCH] Update run.sh --- joal/run.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/joal/run.sh b/joal/run.sh index e0ce87fa2..6439ae039 100644 --- a/joal/run.sh +++ b/joal/run.sh @@ -11,5 +11,9 @@ chown -R $(id -u):$(id -g) /data/joal rm /data/joal/jack-of* 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 + +# Wait for transmission to become available +bashio::net.wait_for 8081 localhost 900 +bashio::log.info "Starting NGinx..." +exec nginx