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

9 lines
336 B
Text
Raw Normal View History

2024-02-26 21:39:33 +00:00
#!/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