1
0
mirror of synced 2025-12-17 04:52:15 +01:00
Files
hassio-addons/hpessa/rootfs/etc/services.d/nginx/finish
2023-01-17 11:08:56 +01:00

10 lines
375 B
Plaintext

#!/usr/bin/execlineb -S0
# ==============================================================================
# Home Assistant Community Add-on: HPE SSA
# 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