frigate/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/finish
Felipe Santos 542c64ac7e Add go2rtc healthcheck service
Also don't make go2rtc exits cause the container to fail.
2023-02-19 13:34:14 -03:00

11 lines
298 B
Plaintext
Executable File

#!/command/with-contenv bash
# shellcheck shell=bash
set -o errexit -o nounset -o pipefail
readonly exit_code_service="${1}"
readonly exit_code_signal="${2}"
readonly service="go2rtc"
echo "[INFO] The ${service} service exited with code ${exit_code_service} (by signal ${exit_code_signal})" >&2