mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
fix(healthcheck): corret behavior when HEALTH_RESTART_VPN=off and startup check fails
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user