diff options
author | Wu Cheng-Han | 2017-03-22 15:31:39 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2017-03-22 15:31:39 +0800 |
commit | e751684aa3b144f46ab7e16360a54356c2f555a8 (patch) | |
tree | 3c865467948e1fc1e72176760fb7ec0ea218f967 | |
parent | 0bcd83576f95435fa008f185a3993158d7e64ce6 (diff) |
Update to print info on exit term signals handled
-rw-r--r-- | app.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -648,6 +648,7 @@ process.on('uncaughtException', function (err) { // install exit handler function handleTermSignals () { + logger.info('hackmd has been killed by signal, try to exit gracefully...') config.maintenance = true // disconnect all socket.io clients Object.keys(io.sockets.sockets).forEach(function (key) { |