From 66c87e72663e04f4c7744f15845c3fa145f424b9 Mon Sep 17 00:00:00 2001 From: gyurix Date: Fri, 8 May 2026 07:24:23 +0200 Subject: [PATCH] replaced to the name of the process instead of the pid which not worked --- persistentkeepalive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/persistentkeepalive.sh b/persistentkeepalive.sh index 18eb9cd..18fb301 100755 --- a/persistentkeepalive.sh +++ b/persistentkeepalive.sh @@ -29,7 +29,7 @@ while true; do echo "WireGuard keepalive ping failed ($fail_count/$MAX_FAILURES) to $WG_SERVER_IP via $IFACE" if [ "$fail_count" -ge "$MAX_FAILURES" ]; then echo "WireGuard connection is stuck after $MAX_FAILURES consecutive failures ... forcing container restart..." - exec kill -9 1 + exec killall boringtun fi fi sleep "$PING_INTERVAL"