Files
hass-addon-repository/tinc/rootfs/etc/services.d/ttyd/finish
2022-01-13 02:04:01 +01:00

9 lines
331 B
Plaintext

#!/usr/bin/execlineb -S1
# ==============================================================================
# Take down the S6 supervision tree when ttyd fails
# ==============================================================================
if { s6-test ${1} -ne 0 }
if { s6-test ${1} -ne 256 }
s6-svscanctl -t /var/run/s6/services