mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:01:43 +01:00
9 lines
373 B
Text
Executable file
9 lines
373 B
Text
Executable file
#!/usr/bin/execlineb -S0
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: ESPHome
|
|
# 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
|