2020-03-22 23:39:37 +00:00
|
|
|
#!/usr/bin/execlineb -S0
|
|
|
|
# ==============================================================================
|
|
|
|
# Take down the S6 supervision tree when Home Assistant fails
|
|
|
|
# ==============================================================================
|
2020-03-25 09:14:15 +00:00
|
|
|
if { s6-test ${1} -ne 100 }
|
|
|
|
|
2020-03-22 23:39:37 +00:00
|
|
|
s6-svscanctl -t /var/run/s6/services
|