stop signals once initial term has been processed. fixes #5

This commit is contained in:
Naitik Shah 2013-10-15 10:50:08 -07:00
parent 211c8342b3
commit aad68df4be

View File

@ -156,6 +156,7 @@ func Wait(listeners []Listener) (err error) {
}(l)
}
wg.Wait()
signal.Stop(ch)
return
case syscall.SIGUSR2:
rErr := Restart(listeners)