Update run.sh

This commit is contained in:
Alexandre
2021-09-10 16:19:03 +02:00
committed by GitHub
parent 01e549255d
commit 6e272e21bc

View File

@@ -125,10 +125,12 @@ if [ $VERBOSE = true ]; then
else else
nohup java -jar /joal/joal.jar --joal-conf=/data/joal --spring.main.web-environment=true --server.port="8081" --joal.ui.path.prefix=${UIPATH} --joal.ui.secret-token=$TOKEN >/dev/null nohup java -jar /joal/joal.jar --joal-conf=/data/joal --spring.main.web-environment=true --server.port="8081" --joal.ui.path.prefix=${UIPATH} --joal.ui.secret-token=$TOKEN >/dev/null
fi \ fi \
& bashio::log.info "Joal started with path ip/${UIPATH}/ui secret token $TOKEN" & bashio::log.info "Joal started with path http://ip/${UIPATH}/ui secret token $TOKEN"
bashio::log.info "Please wait, loading..."
# Wait for transmission to become available # Wait for transmission to become available
bashio::net.wait_for 8081 localhost 900 || true bashio::net.wait_for 8081 localhost 900 || true
bashio::log.info "Nginx started for Ingress" bashio::log.info "... loaded, Nginx started for Ingress"
exec nginx & \ exec nginx & \
########### ###########