* move "pidFileName" to "config"

This commit is contained in:
Simon Zolin
2019-07-09 18:49:31 +03:00
parent d3ddfc81a6
commit f79008d9d0
2 changed files with 4 additions and 4 deletions

View File

@@ -49,6 +49,7 @@ type configuration struct {
ourConfigFilename string // Config filename (can be overridden via the command line arguments)
ourWorkingDir string // Location of our directory, used to protect against CWD being somewhere else
firstRun bool // if set to true, don't run any services except HTTP web inteface, and serve only first-run html
pidFileName string // PID file name. Empty if no PID file was created.
// 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