feat(healthcheck): add FAQ url on unhealthy log

This commit is contained in:
Quentin McGaw
2022-11-11 09:43:07 +00:00
parent 5aa39be973
commit 554a6cdb92

View File

@@ -29,7 +29,7 @@ func (s *Server) runHealthcheckLoop(ctx context.Context, done chan<- struct{}) {
s.vpn.healthyTimer.Stop()
s.vpn.healthyWait = *s.config.VPN.Initial
} else if previousErr == nil && err != nil {
s.logger.Info("unhealthy: " + err.Error())
s.logger.Info("unhealthy: " + err.Error() + "(see https://github.com/qdm12/gluetun/wiki/Healthcheck)")
s.vpn.healthyTimer.Stop()
s.vpn.healthyTimer = time.NewTimer(s.vpn.healthyWait)
}