Handle SIGTERM as well. Why not.
This commit is contained in:
1 file changed
+2
@@ -126,6 +126,8 @@ func (a Application) run(
|
||||
case syscall.SIGHUP:
|
||||
return true, nil
|
||||
|
||||
case syscall.SIGTERM:
|
||||
fallthrough
|
||||
case os.Kill:
|
||||
fallthrough
|
||||
case os.Interrupt:
|
||||
|
||||
Reference in new issue
Block a user