mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
fix(health): log link to Wiki on VPN restart
This commit is contained in:
@@ -15,7 +15,8 @@ type vpnHealth struct {
|
||||
|
||||
func (s *Server) onUnhealthyVPN(ctx context.Context) {
|
||||
s.logger.Info("program has been unhealthy for " +
|
||||
s.vpn.healthyWait.String() + ": restarting VPN")
|
||||
s.vpn.healthyWait.String() + ": restarting VPN " +
|
||||
"(see https://github.com/qdm12/gluetun/wiki/Healthcheck)")
|
||||
_, _ = s.vpn.loop.ApplyStatus(ctx, constants.Stopped)
|
||||
_, _ = s.vpn.loop.ApplyStatus(ctx, constants.Running)
|
||||
s.vpn.healthyWait += *s.config.VPN.Addition
|
||||
|
||||
Reference in New Issue
Block a user