mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
7 lines
314 B
Plaintext
7 lines
314 B
Plaintext
#!/usr/bin/execlineb -S0
|
|
# ==============================================================================
|
|
# Take down the S6 supervision tree when Home Assistant fails
|
|
# ==============================================================================
|
|
if { s6-test ${1} -ne 100 }
|
|
|
|
s6-svscanctl -t /var/run/s6/services |