This commit is contained in:
Alexandre
2020-12-07 15:48:35 +01:00
parent f7166ad259
commit 32204d4d5b
29 changed files with 117 additions and 194 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Nginx fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services

View File

@@ -0,0 +1,9 @@
#!/usr/bin/with-contenv bashio
# ==============================================================================
# Wait for transmission to become available
bashio::net.wait_for 9091
bashio::log.info "Starting NGinx..."
exec nginx