diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-12 16:07:56 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-12 16:07:56 +0300 |
commit | 5b809a123cce6a76e16adb083eb94dbecab67e15 (patch) | |
tree | 49b06e4bb047555b2e583d34d456982dd350713d /daemon.go | |
parent | a65d431d9cd8f9db67e8d8a7179c8d314497bc10 (diff) |
Pass more signals
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ func killProcess(cmd *exec.Cmd) { func passSignals(cmd *exec.Cmd) { s := make(chan os.Signal) - signal.Notify(s, syscall.SIGTERM) + signal.Notify(s, syscall.SIGTERM, os.Interrupt, os.Kill) go func() { for { |