Make the restart on wakeup configurable

This commit is contained in:
Jakob Borg
2014-09-10 22:24:53 +02:00
parent 85dba25246
commit 13602b6769
4 changed files with 7 additions and 1 deletions

View File

@@ -598,7 +598,9 @@ nextRepo:
}()
}
go standbyMonitor()
if cfg.Options.RestartOnWakeup {
go standbyMonitor()
}
events.Default.Log(events.StartupComplete, nil)
go generateEvents()