Handle SIGTERM exit signals (allows clean exit with systemd)
This commit is contained in:
parent
dbf9347ec6
commit
12ec9b55f9
@ -86,6 +86,7 @@ export default abstract class Application implements Extendable<ApplicationCompo
|
||||
process.once('SIGINT', exitHandler);
|
||||
process.once('SIGUSR1', exitHandler);
|
||||
process.once('SIGUSR2', exitHandler);
|
||||
process.once('SIGTERM', exitHandler);
|
||||
process.once('uncaughtException', exitHandler);
|
||||
|
||||
// Register migrations
|
||||
|
Loading…
Reference in New Issue
Block a user