Skip to content

Commit

Permalink
🔨 Makes NGinx wait for Traccar before starting
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Apr 22, 2019
1 parent 818b243 commit 43b28dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions traccar/rootfs/etc/services.d/nginx/run
Original file line number Diff line number Diff line change
Expand Up @@ -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;"

0 comments on commit 43b28dc

Please sign in to comment.