aboutsummaryrefslogtreecommitdiff
path: root/go/weed/signal_handling.go
diff options
context:
space:
mode:
Diffstat (limited to 'go/weed/signal_handling.go')
-rw-r--r--go/weed/signal_handling.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/go/weed/signal_handling.go b/go/weed/signal_handling.go
index 5d57c8fdb..d26e3495e 100644
--- a/go/weed/signal_handling.go
+++ b/go/weed/signal_handling.go
@@ -14,6 +14,7 @@ func OnInterrupt(fn func()) {
signal.Notify(signalChan,
os.Interrupt,
os.Kill,
+ syscall.SIGALRM,
syscall.SIGHUP,
syscall.SIGINT,
syscall.SIGTERM,