From 529c158293ac88b514063599b316f504be1d189c Mon Sep 17 00:00:00 2001 From: siddontang Date: Tue, 11 Nov 2014 11:09:32 +0800 Subject: [PATCH] update signal notify --- cmd/ledis-server/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/ledis-server/main.go b/cmd/ledis-server/main.go index 70328c4..31e056f 100644 --- a/cmd/ledis-server/main.go +++ b/cmd/ledis-server/main.go @@ -81,6 +81,8 @@ func main() { sc := make(chan os.Signal, 1) signal.Notify(sc, + os.Kill, + os.Interrupt, syscall.SIGHUP, syscall.SIGINT, syscall.SIGTERM,