TUN-2244: Add NO_AUTOUPDATE env var
This commit is contained in:
parent
4e1df1a211
commit
df25ed9bde
|
@ -602,6 +602,7 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
|
||||||
altsrc.NewBoolFlag(&cli.BoolFlag{
|
altsrc.NewBoolFlag(&cli.BoolFlag{
|
||||||
Name: "no-autoupdate",
|
Name: "no-autoupdate",
|
||||||
Usage: "Disable periodic check for updates, restarting the server with the new version.",
|
Usage: "Disable periodic check for updates, restarting the server with the new version.",
|
||||||
|
EnvVars: []string{"NO_AUTOUPDATE"},
|
||||||
Value: false,
|
Value: false,
|
||||||
Hidden: shouldHide,
|
Hidden: shouldHide,
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in New Issue