mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-09-09 01:26:38 -05:00
fix: exit server on SIGTERM
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
process.title = 'Pretendo - BOSS';
|
||||
process.on('SIGTERM', () => {
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
import express from 'express';
|
||||
import morgan from 'morgan';
|
||||
|
||||
Reference in New Issue
Block a user