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 09cd2cb18..d48ac9db5 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 @@ -11,7 +11,7 @@ sleep 10s while sleep 1m; do # Check if the service is running - if ! timeout 10s curl -fsSL http://127.0.0.1:1984/api/stressams >/dev/null; then + if ! timeout 10s curl -fsSL http://127.0.0.1:1984/api/streams >/dev/null; then echo "[ERROR] The go2rtc service is not responding to ping, restarting..." >&2 # We can also use -r instead of -t to send kill signal rather than term s6-svc -t /var/run/service/go2rtc