move refs/pman over to owncloud/ocis/ocis/pkg/runtime

This commit is contained in:
A.Unger
2021-01-25 15:11:58 +01:00
parent 1404a8beaa
commit e50ee6e002
23 changed files with 994 additions and 5 deletions
+5 -3
View File
@@ -15,8 +15,8 @@ import (
"github.com/micro/micro/v2/client/api"
"github.com/micro/micro/v2/service/registry"
"github.com/refs/pman/pkg/process"
"github.com/refs/pman/pkg/service"
"github.com/owncloud/ocis/ocis/pkg/runtime/process"
"github.com/owncloud/ocis/ocis/pkg/runtime/service"
)
var (
@@ -80,7 +80,9 @@ func New(cfg *config.Config) Runtime {
// Start rpc runtime
func (r *Runtime) Start() error {
go r.Launch()
return service.Start()
return service.Start(
service.WithLogPretty(r.c.Log.Pretty),
)
}
// Launch ocis default ocis extensions.