core/rootfs/etc/services.d/home-assistant/finish

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