Skip to content

Commit

Permalink
fix #435
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Stirner committed Feb 1, 2024
1 parent a4271ea commit 8f61a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ const starter = new Promise((resolve) => {

logger.info("Startup complete");

["SIGINT", "SIGTERM", "SIGQUIT"].forEach((signal) => {
// fix #435
["SIGINT", /*"SIGTERM", "SIGQUIT"*/].forEach((signal) => {
process.once(signal, () => {

logger.warn("Shuting down...");
Expand Down
3 changes: 2 additions & 1 deletion system/init/init.http-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ module.exports = (logger) => {
// require express main router
let app = require("../../routes/index.js");

["SIGINT", "SIGTERM", "SIGQUIT"].forEach((signal) => {
// fix #435
["SIGINT", /*"SIGTERM", "SIGQUIT"*/].forEach((signal) => {
process.once(signal, () => {

// see #345
Expand Down

0 comments on commit 8f61a16

Please sign in to comment.