fix run / kill

This commit is contained in:
A.Unger
2021-03-09 19:15:59 +01:00
parent 60a1e3ce19
commit 5f9133386d
4 changed files with 54 additions and 11 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ func (s *Service) Start(name string, reply *int) error {
*reply = 1
return nil
}
//s.serviceToken[name] = append(s.serviceToken[name], s.Supervisor.Add(s.ServicesRegistry[name]))
s.serviceToken[name] = append(s.serviceToken[name], s.Supervisor.Add(s.ServicesRegistry[name](s.context, s.cfg)))
//s.serviceToken["settings"] = append(s.serviceToken[name], s.Supervisor.Add(settings.NewSutureService(s.context, s.cfg)))
*reply = 0
return nil