mirror of https://github.com/ledisdb/ledisdb.git
update signal notify
This commit is contained in:
parent
a5dcdbf6c3
commit
529c158293
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue