mirror of
https://github.com/hassio-addons/addon-phlex.git
synced 2025-05-04 11:11:28 +00:00
9 lines
378 B
Text
9 lines
378 B
Text
#!/usr/bin/execlineb -S0
|
|
# ==============================================================================
|
|
# Home Assistant Community Add-on: FlexTV
|
|
# 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
|