Update run.sh

This commit is contained in:
Alexandre
2021-08-03 13:53:01 +02:00
committed by GitHub
parent 68b13fcb13
commit f73a979f33

View File

@@ -153,8 +153,8 @@ mkdir -p /var/log/nginx && touch /var/log/nginx/error.log
# LAUNCH APPS #
###############
bashio::log.info "The server will start. Please wait 30 seconds before the web UI is available. Enjoy !"
bashio::log.info "Starting..."
./usr/src/app/bin/cloudcmd.mjs & bashio::net.wait_for 8080 localhost 900 || true
bashio::log.info "Nginx started for Ingress"
./usr/src/app/bin/cloudcmd.mjs & bashio::net.wait_for 8000 localhost 900 || true
bashio::log.info "Started !"
exec nginx