Commit afd77336 authored by Franck Nijhof's avatar Franck Nijhof

🔨 Replaces NGinx wait script with Bashio

parent 6ef73782
......@@ -4,11 +4,6 @@
# Runs the Nginx daemon
# ==============================================================================
# Wait for PHP-FPM to become available
s6-svwait -u -t 5000 /var/run/s6/services/php-fpm
timeout -t 15 \
bash -c \
'until echo > /dev/tcp/localhost/9001 ; do sleep 0.5; done' \
> /dev/null 2>&1
bashio::net.wait_for 9001
bashio::log.info "Starting NGinx server..."
exec nginx -g "daemon off;"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment