TUN-3514: Stop setting --is-autoupdated flag after autoupdate because it can break named tunnel running in k8s
This commit is contained in:
parent
9ae5f306bf
commit
c40cb7dc56
|
@ -202,7 +202,6 @@ func (a *AutoUpdater) Run(ctx context.Context) error {
|
|||
if a.configurable.enabled {
|
||||
updateOutcome := loggedUpdate(a.logger, updateOptions{})
|
||||
if updateOutcome.Updated {
|
||||
os.Args = append(os.Args, "--is-autoupdated=true")
|
||||
if IsSysV() {
|
||||
// SysV doesn't have a mechanism to keep service alive, we have to restart the process
|
||||
a.logger.Info("Restarting service managed by SysV...")
|
||||
|
|
Loading…
Reference in New Issue