From 2b24c9da9de183b674e006681342bebdc3174666 Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Sun, 19 Feb 2023 15:03:52 -0300 Subject: [PATCH] Fix sleep --- docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc-healthcheck/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc-healthcheck/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc-healthcheck/run index 42a01b1cf..8ddcc52ea 100755 --- a/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc-healthcheck/run +++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc-healthcheck/run @@ -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..."