Files
hassio-addons/calibre/rootfs/etc/services.d/nginx/finish
2022-04-29 15:04:20 +02:00

9 lines
332 B
Plaintext

#!/usr/bin/execlineb -S0
# ==============================================================================
# Take down the S6 supervision tree when Nginx fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services