This commit is contained in:
Alexandre
2025-04-22 10:47:59 +02:00
parent b65e2178c5
commit e077102208
27 changed files with 214 additions and 84 deletions

View File

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

View File

@@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
set -e
# ==============================================================================
# Wait for app to become available
bashio::net.wait_for 8096 localhost 900
bashio::log.info "Starting NGinx..."
exec nginx