mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-15 00:34:16 +01:00
10 lines
333 B
Plaintext
10 lines
333 B
Plaintext
|
|
#!/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
|