mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
13 lines
367 B
Plaintext
13 lines
367 B
Plaintext
|
#!/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-healthcheck"
|
||
|
|
||
|
echo "[INFO] The ${service} service exited with code ${exit_code_service} (by signal ${exit_code_signal})"
|