frigate/docker/rootfs/etc/services.d/go2rtc/finish
2022-11-20 14:14:04 -03:00

8 lines
206 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# Take down the S6 supervision tree when the process fails
if [[ "${1}" -ne 0 && "${1}" -ne 256 ]]; then
exec s6-svscanctl -t /var/run/s6/services
fi