addon-tasmoadmin/sonweb/rootfs/etc/services.d/nginx/finish
2018-05-22 21:29:22 +02:00

9 lines
372 B
Text
Executable file

#!/usr/bin/execlineb -S0
# ==============================================================================
# Community Hass.io Add-ons: SonWEB
# 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