do not force exit to let all services shutdown gracefully

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-07-24 14:02:52 +02:00
parent 9d1515e8fc
commit 7999e2969b
35 changed files with 0 additions and 51 deletions
-3
View File
@@ -3,7 +3,6 @@ package command
import (
"context"
"fmt"
"os"
"github.com/oklog/run"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
@@ -74,7 +73,6 @@ func Server(cfg *config.Config) *cli.Command {
Str("server", "http").
Msg("shutting down server")
cancel()
os.Exit(1)
})
// prepare a gRPC server and add it to the group run.
@@ -93,7 +91,6 @@ func Server(cfg *config.Config) *cli.Command {
Str("server", "grpc").
Msg("shutting down server")
cancel()
os.Exit(1)
})
// prepare a debug server and add it to the group run.