fix(healthcheck): corret behavior when HEALTH_RESTART_VPN=off and startup check fails

This commit is contained in:
Quentin McGaw
2026-02-11 17:33:14 +00:00
parent 8eb990eb66
commit 8f1fda7646
3 changed files with 40 additions and 13 deletions
+2 -1
View File
@@ -102,7 +102,8 @@ type CmdStarter interface {
}
type HealthChecker interface {
SetConfig(tlsDialAddrs []string, icmpTargetIPs []netip.Addr, smallCheckType string)
SetConfig(tlsDialAddrs []string, icmpTargetIPs []netip.Addr,
smallCheckType string, startupOnFail bool)
Start(ctx context.Context) (runError <-chan error, err error)
Stop() error
}