TUN-2244: Add NO_AUTOUPDATE env var

This commit is contained in:
Adam Chalmers 2019-08-27 15:53:28 -05:00
parent 4e1df1a211
commit df25ed9bde
1 changed files with 5 additions and 4 deletions

View File

@ -600,10 +600,11 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
Hidden: shouldHide,
}),
altsrc.NewBoolFlag(&cli.BoolFlag{
Name: "no-autoupdate",
Usage: "Disable periodic check for updates, restarting the server with the new version.",
Value: false,
Hidden: shouldHide,
Name: "no-autoupdate",
Usage: "Disable periodic check for updates, restarting the server with the new version.",
EnvVars: []string{"NO_AUTOUPDATE"},
Value: false,
Hidden: shouldHide,
}),
altsrc.NewBoolFlag(&cli.BoolFlag{
Name: "is-autoupdated",