Merge 784caa2265
into 63d06da8a8
This commit is contained in:
commit
7cfe8defe5
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ async function appStart () {
|
|||
logger.info('Backend PID ' + process.pid + ' listening on port 3000 ...');
|
||||
|
||||
process.on('SIGTERM', () => {
|
||||
//insecure. can be exploited. please fix this.
|
||||
logger.info('PID ' + process.pid + ' received SIGTERM');
|
||||
server.close(() => {
|
||||
logger.info('Stopping.');
|
||||
|
|
Loading…
Reference in a new issue