From 586b0e17a012a803dad7f1ab036190aa6fe449c9 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Sat, 3 Feb 2024 20:13:05 +0000 Subject: [PATCH] chore(health): more obvious log to see the health guide and to reduce issues --- internal/healthcheck/openvpn.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/healthcheck/openvpn.go b/internal/healthcheck/openvpn.go index 8c1321cc..fa6c8c3e 100644 --- a/internal/healthcheck/openvpn.go +++ b/internal/healthcheck/openvpn.go @@ -15,8 +15,9 @@ type vpnHealth struct { func (s *Server) onUnhealthyVPN(ctx context.Context) { s.logger.Info("program has been unhealthy for " + - s.vpn.healthyWait.String() + ": restarting VPN " + - "(see https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md)") + s.vpn.healthyWait.String() + ": restarting VPN") + s.logger.Info("👉 See https://github.com/qdm12/gluetun-wiki/blob/main/faq/healthcheck.md") + s.logger.Info("DO NOT OPEN AN ISSUE UNLESS YOU READ AND TRIED EACH POSSIBLE SOLUTION") _, _ = s.vpn.loop.ApplyStatus(ctx, constants.Stopped) _, _ = s.vpn.loop.ApplyStatus(ctx, constants.Running) s.vpn.healthyWait += *s.config.VPN.Addition