Files
hassio-addons/qbittorrent/rootfs/etc/services.d/vpn_guard/finish
Alexandre c278320079 Create finish script for vpn_guard service
Add finish script to handle Nginx failure in vpn_guard.
2025-11-24 14:46:39 +01:00

9 lines
332 B
Plaintext

#!/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