Files
addon-tvheadend/tvheadend/rootfs/etc/services.d/cron/finish
T
Gautham Varma K 1afe905387 🔨 Rewrite Add-on to make use of S6 (#36)
Restructuring of the addon to make use of the S6 overlay to make it more robust.
2021-09-09 07:05:33 +05:30

10 lines
381 B
Plaintext

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