测试信息

master
pan 4 years ago
parent 853a233931
commit afa7dbd4fc
  1. 4
      app.js

@ -48,14 +48,14 @@ app.use(function(err, req, res, next) {
// listen for TERM signal .e.g. kill
process.on ('SIGTERM', ()=>{
process.exit()
console.info('SIGTERM退出')
process.exit()
});
// listen for INT signal e.g. Ctrl-C
process.on ('SIGINT', ()=>{
process.exit()
console.info('SIGINT退出')
process.exit()
});
module.exports = app;

Loading…
Cancel
Save