mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Reword healthcheck message
Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
parent
542c64ac7e
commit
4d8821c2d7
@ -9,7 +9,7 @@ echo "[INFO] Starting go2rtc healthcheck service..." >&2
|
||||
while sleep 1m; do
|
||||
# Check if the service is running
|
||||
if ! curl -fsSL http://127.0.0.1:1984/api/streams >/dev/null; then
|
||||
echo "[ERROR] The go2rtc is apparently not working, restarting it..." >&2
|
||||
echo "[ERROR] The go2rtc is not responding to ping, restarting it..." >&2
|
||||
# We can also use -r instead of -t to send kill signal rather than term
|
||||
s6-svc -t /var/run/service/go2rtc
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user