alpine-nginx-php/rootfs/etc/services.d/php-fpm/finish
2015-11-08 18:58:38 +00:00

8 lines
253 B
Text

#!/usr/bin/execlineb -S0
# only tell s6 to bring down the entire container, if it isn't already doing so
# http://skarnet.org/software/s6/s6-supervise.html
if -n { s6-test $# -ne 0 }
if -n { s6-test ${1} -eq 256 }
s6-svscanctl -t /var/run/s6/services