add glauth

This commit is contained in:
A.Unger
2021-03-04 13:04:37 +01:00
parent 742b571a5b
commit 08e3eea6b7
5 changed files with 42 additions and 7 deletions
+3
View File
@@ -6,6 +6,7 @@ import (
"os/signal"
accounts "github.com/owncloud/ocis/accounts/pkg/command"
glauth "github.com/owncloud/ocis/glauth/pkg/command"
settings "github.com/owncloud/ocis/settings/pkg/command"
"github.com/thejerf/suture"
@@ -110,7 +111,9 @@ func (r *Runtime) Start() error {
addServiceToken("settings", supervisor.Add(settings.NewSutureService(globalCtx, r.c.Settings)))
addServiceToken("storagemetadata", supervisor.Add(storage.NewStorageMetadata(globalCtx, r.c.Storage)))
addServiceToken("accounts", supervisor.Add(accounts.NewSutureService(globalCtx, r.c.Accounts)))
addServiceToken("glauth", supervisor.Add(glauth.NewSutureService(globalCtx, r.c.GLAuth)))
// TODO(refs) debug line with supervised services.
go supervisor.ServeBackground()
select {