add storage-public-link

This commit is contained in:
A.Unger
2021-03-04 15:25:21 +01:00
parent f62c6577c4
commit 01b507c4dc
2 changed files with 43 additions and 1 deletions
+2 -1
View File
@@ -51,7 +51,7 @@ var (
"storage-auth-basic", // done
"storage-auth-bearer", // done
"storage-home", // done
"storage-users",
"storage-users", // done
"storage-public-link",
"thumbnails", // done
"web", // done
@@ -135,6 +135,7 @@ func (r *Runtime) Start() error {
addServiceToken("authbearer", supervisor.Add(storage.NewAuthBearer(globalCtx, r.c.Storage)))
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)))
// TODO(refs) debug line with supervised services.
go supervisor.ServeBackground()