There was an error while loading. Please reload this page.
1 parent 2973dd7 commit 44e1350Copy full SHA for 44e1350
1 file changed
signals.go
@@ -15,7 +15,7 @@ const maxInterruptSignals = 3
15
// time to do cleanup work.
16
func (e *Executor) InterceptInterruptSignals() {
17
ch := make(chan os.Signal, maxInterruptSignals)
18
- signal.Notify(ch, os.Interrupt, syscall.SIGTERM)
+ signal.Notify(ch, os.Interrupt, syscall.SIGTERM, syscall.SIGHUP)
19
20
go func() {
21
for i := range maxInterruptSignals {
0 commit comments