test nginx

This commit is contained in:
Alexandre
2021-11-29 14:04:01 +01:00
parent a9b5dcdc7c
commit f4c98bcf58
12 changed files with 262 additions and 0 deletions

View File

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