add storage-sharing

This commit is contained in:
A.Unger
2021-03-04 15:28:21 +01:00
parent 01b507c4dc
commit f2660dd608
2 changed files with 46 additions and 4 deletions
+5 -4
View File
@@ -52,10 +52,10 @@ var (
"storage-auth-bearer", // done
"storage-home", // done
"storage-users", // done
"storage-public-link",
"thumbnails", // done
"web", // done
"webdav", // done
"storage-public-link", // done
"thumbnails", // done
"web", // done
"webdav", // done
}
dependants = []string{
@@ -136,6 +136,7 @@ func (r *Runtime) Start() error {
addServiceToken("storage-home", supervisor.Add(storage.NewStorageHome(globalCtx, r.c.Storage)))
addServiceToken("storage-users", supervisor.Add(storage.NewStorageUsers(globalCtx, r.c.Storage)))
addServiceToken("storage-public-link", supervisor.Add(storage.NewStoragePublicLink(globalCtx, r.c.Storage)))
addServiceToken("storage-sharing", supervisor.Add(storage.NewSharing(globalCtx, r.c.Storage)))
// TODO(refs) debug line with supervised services.
go supervisor.ServeBackground()