mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Fix sleep
This commit is contained in:
parent
52a2c1add2
commit
2b24c9da9d
@ -10,7 +10,7 @@ set -o errexit -o nounset -o pipefail
|
||||
sleep 10s
|
||||
echo "[INFO] Starting go2rtc healthcheck service..."
|
||||
|
||||
while sleep 1s; do
|
||||
while sleep 60s; do
|
||||
# Check if the service is running
|
||||
if ! timeout 10s curl -fsSL -o /dev/null http://127.0.0.1:1984/api/streams 2>&1; then
|
||||
echo "[ERROR] The go2rtc service is not responding to ping, restarting..."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user