diff --git a/cmd/root.go b/cmd/root.go index aec1650..0f8e78a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -279,7 +279,7 @@ func runMain(cmd *cobra.Command, args []string) { go func() { // Graceful shutdown shutdownChan := make(chan os.Signal) - signal.Notify(shutdownChan, os.Interrupt, os.Kill) + signal.Notify(shutdownChan, os.Interrupt, os.Kill, syscall.SIGTERM) <-shutdownChan logger.Info("shutting down gracefully...") cancelFunc()