diff --git a/command/server.go b/command/server.go index 6e9d744085..47ec3e0bf3 100644 --- a/command/server.go +++ b/command/server.go @@ -685,7 +685,6 @@ func MakeShutdownCh() chan struct{} { resultCh := make(chan struct{}) shutdownCh := make(chan os.Signal, 4) - signal.Notify(shutdownCh, os.Interrupt, syscall.SIGINT) signal.Notify(shutdownCh, os.Interrupt, syscall.SIGTERM) go func() { for { @@ -703,7 +702,7 @@ func MakeSighupCh() chan struct{} { resultCh := make(chan struct{}) signalCh := make(chan os.Signal, 4) - signal.Notify(signalCh, os.Interrupt, syscall.SIGHUP) + signal.Notify(signalCh, syscall.SIGHUP) go func() { for { <-signalCh