Files
hassio-addons/transmission/rootfs/etc/services.d/nginx/finish
Alexandre 32204d4d5b revert
2020-12-07 15:48:35 +01:00

9 lines
336 B
Plaintext

#!/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