ha-3dprinter-addons/camera-ustreamer/rootfs/etc/services.d/ustreamer/finish
2023-03-16 12:43:03 +01:00

10 lines
367 B
Plaintext

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