+ app: disable new version check and auto-update by command line switch

This commit is contained in:
Simon Zolin
2019-05-27 18:48:33 +03:00
parent b9df476c5d
commit f25639f1fc
4 changed files with 15 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ type configuration struct {
firstRun bool // if set to true, don't run any services except HTTP web inteface, and serve only first-run html
// runningAsService flag is set to true when options are passed from the service runner
runningAsService bool
disableUpdate bool // If set, don't check for updates
BindHost string `yaml:"bind_host"` // BindHost is the IP address of the HTTP server to bind to
BindPort int `yaml:"bind_port"` // BindPort is the port the HTTP server