mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Exit signal handling polish, login page info added
This commit is contained in:
parent
4f030ad27c
commit
88d487568c
6 changed files with 21 additions and 69 deletions
|
@ -64,10 +64,7 @@ try {
|
|||
|
||||
// Setting up exits
|
||||
// process.on('exit', () => exit('exit'))
|
||||
// process.on('exit', () => exit('exit'))
|
||||
process.on('SIGINT', () => exit('SIGINT'))
|
||||
process.on('SIGINT', () => exit('SIGINT'))
|
||||
process.on('SIGTERM', () => exit('SIGTERM'))
|
||||
process.on('SIGTERM', () => exit('SIGTERM'))
|
||||
|
||||
function exit (reason) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue