hassio-zabbix-agent2/rootfs/etc/services.d/zabbix-agent2/finish

8 lines
339 B
Plaintext
Executable File

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