homeassistant-addons/oepl-proxy/rootfs/etc/services.d/nginx/finish

8 lines
336 B
Text

#!/usr/bin/execlineb -S0
# ==============================================================================
# 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