hassio-zabbix-agent2/rootfs/etc/services.d/zabbix-agent2/finish
Paolo Asperti aac9975a01
All checks were successful
continuous-integration/drone/push Build is passing
fix s6
2022-06-13 09:14:07 +02:00

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