1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-18 19:08:15 +00:00

10 lines
377 B
Plaintext
Raw Normal View History

2018-11-24 14:38:02 +01:00
#!/usr/bin/execlineb -S0
# ==============================================================================
# Community Hass.io Add-ons: esphomeyaml
# 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