diff --git a/cmd/dbos/start.go b/cmd/dbos/start.go index 6e37766..60f41be 100644 --- a/cmd/dbos/start.go +++ b/cmd/dbos/start.go @@ -7,7 +7,6 @@ import ( "os/signal" "runtime" "syscall" - "time" "github.com/spf13/cobra" ) @@ -83,21 +82,6 @@ func runStart(cmd *cobra.Command, args []string) error { process.Process.Kill() } - // Wait a bit for graceful shutdown - select { - case <-done: - case <-sigChan: - // Force kill if we get another signal - if runtime.GOOS != "windows" { - syscall.Kill(-process.Process.Pid, syscall.SIGKILL) - } - case <-time.After(10 * time.Second): - // Force kill after timeout - if runtime.GOOS != "windows" { - syscall.Kill(-process.Process.Pid, syscall.SIGKILL) - } - } - os.Exit(0) } }