addon-grocy/grocy/rootfs/etc/services.d/php-fpm/finish
2019-04-18 23:37:01 +02:00

9 lines
369 B
Text

#!/usr/bin/execlineb -S0
# ==============================================================================
# Community Hass.io Add-ons: Grocy
# Take down the S6 supervision tree when PHP FPM fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services