+ set config.runningAsService

This commit is contained in:
Simon Zolin
2019-05-17 14:22:59 +03:00
parent 6d14ec18ac
commit 28440fc3ac
2 changed files with 3 additions and 0 deletions

1
app.go
View File

@@ -78,6 +78,7 @@ func run(args options) {
if args.runningAsService {
log.Info("AdGuard Home is running as a service")
}
config.runningAsService = args.runningAsService
config.firstRun = detectFirstRun()
if config.firstRun {