fix s6
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-06-13 09:14:07 +02:00
parent e09df09c87
commit aac9975a01
6 changed files with 52 additions and 40 deletions

View File

@@ -0,0 +1,8 @@
#!/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