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