|
@@ -27,7 +27,7 @@ func NewHook() Hook {
|
|
|
ctx: make(chan os.Signal, 1),
|
|
|
}
|
|
|
|
|
|
- return hook.WithSignals(syscall.SIGINT, syscall.SIGTERM)
|
|
|
+ return hook.WithSignals(syscall.SIGINT, syscall.SIGTERM, syscall.SIGKILL, syscall.SIGQUIT)
|
|
|
}
|
|
|
|
|
|
func (h *hook) WithSignals(signals ...syscall.Signal) Hook {
|