work on signals

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-07-24 13:21:30 +02:00
parent 06cc70f978
commit d6045a74ea
7 changed files with 28 additions and 24 deletions
+4 -2
View File
@@ -1,6 +1,8 @@
package runtime
import (
"context"
"github.com/owncloud/ocis/v2/ocis-pkg/config"
"github.com/owncloud/ocis/v2/ocis/pkg/runtime/service"
)
@@ -18,6 +20,6 @@ func New(cfg *config.Config) Runtime {
}
// Start rpc runtime
func (r *Runtime) Start() error {
return service.Start(service.WithConfig(r.c))
func (r *Runtime) Start(ctx context.Context) error {
return service.Start(ctx, service.WithConfig(r.c))
}