From afa7dbd4fcf27cd32a72ddb9e2a60a96123f5240 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 07:43:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index cff5bc4..c1046b7 100644 --- a/app.js +++ b/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;