🔨 Makes NGinx wait for Traccar before starting

This commit is contained in:
Franck Nijhof 2019-04-22 10:49:39 +02:00
parent 818b2432a8
commit 43b28dce8c
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -3,5 +3,6 @@
# Community Hass.io Add-ons: Traccar
# Runs the Nginx daemon
# ==============================================================================
bashio::net.wait_for 18682
bashio::log.info "Starting NGinx server..."
exec nginx -g "daemon off;"