add test SIGTERM handler

This commit is contained in:
AlecM33
2023-01-17 21:32:50 -05:00
parent e2f405b91d
commit c120db5763

View File

@@ -1,5 +1,10 @@
'use strict';
process.on('SIGTERM', function () {
console.log('received SIGTERM, exiting gracefully');
process.exit(0);
});
const express = require('express');
const app = express();
const ServerBootstrapper = require('./server/modules/ServerBootstrapper');