1
0
mirror of https://github.com/blakeblackshear/frigate.git synced 2025-03-09 00:16:54 +01:00
blakeblackshear.frigate/docker/main/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/finish

13 lines
355 B
Plaintext
Raw Normal View History

#!/command/with-contenv bash
# shellcheck shell=bash
set -o errexit -o nounset -o pipefail
# Logs should be sent to stdout so that s6 can collect them
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})"