Files
homeassistant-addons/portainer/rootfs/etc/services.d/portainer/finish
T
2021-09-27 10:46:29 +02:00

10 lines
381 B
Plaintext

#!/usr/bin/execlineb -S0
# ==============================================================================
# Home Assistant Community Add-on: Portainer
# Take down the S6 supervision tree when Portainer fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services