addon-home-panel/home-panel/rootfs/etc/services.d/api/finish
2018-08-18 14:53:23 +01:00

9 lines
381 B
Text

#!/usr/bin/execlineb -S0
# ==============================================================================
# Community Hass.io Add-ons: Home Panel
# Take down the S6 supervision tree when Home Panel fails
# ==============================================================================
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services