Handle SIGTERM as well. Why not.
This commit is contained in:
@@ -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