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

8 lines
339 B
Plaintext
Raw Permalink Normal View History

2022-06-13 07:14:07 +00:00
#!/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