cmd/syncthing: Provide early startup for config service (ref #7188) (#7285)

This commit is contained in:
Jakob Borg
2021-01-16 12:58:02 +01:00
committed by GitHub
parent abfbd13f17
commit ffcb57580f
2 changed files with 13 additions and 6 deletions
-4
View File
@@ -121,10 +121,6 @@ func (a *App) Start() error {
}
func (a *App) startup() error {
if cfgService, ok := a.cfg.(suture.Service); ok {
a.mainService.Add(cfgService)
}
a.mainService.Add(ur.NewFailureHandler(a.cfg, a.evLogger))
a.mainService.Add(a.ll)