mirror of
https://github.com/Mesteriis/hassio-addons-avm.git
synced 2026-06-10 07:25:52 +02:00
update repository references and improve script handling
This commit is contained in:
8
proxy/rootfs/etc/services.d/nginx/finish
Executable file
8
proxy/rootfs/etc/services.d/nginx/finish
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/execlineb -S0
|
||||
# ==============================================================================
|
||||
# Take down the S6 supervision tree when NGINX fails
|
||||
# ==============================================================================
|
||||
if -n { s6-test $# -ne 0 }
|
||||
if -n { s6-test ${1} -eq 256 }
|
||||
|
||||
s6-svscanctl -t /var/run/s6/services
|
||||
Reference in New Issue
Block a user