parent
b4d06196da
commit
554f1f7076
1 changed files with 4 additions and 0 deletions
|
|
@ -606,6 +606,10 @@ export function server(opts) {
|
|||
process.exit();
|
||||
});
|
||||
|
||||
process.on('SIGTERM', () => {
|
||||
process.exit();
|
||||
});
|
||||
|
||||
process.on('SIGHUP', () => {
|
||||
console.log('Stopping server and reloading config');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue