From 46ad7daf9c259ff8c427d39577fa145a90b98068 Mon Sep 17 00:00:00 2001 From: lucaspalomodevelop Date: Mon, 4 Apr 2022 00:11:30 +0200 Subject: [PATCH] add processid to stop message --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7481d54..dbc7dc2 100644 --- a/src/index.js +++ b/src/index.js @@ -49,7 +49,7 @@ if (cluster.isMaster) { // open("http://" + host + ":" + port + "/dashboard"); }); process.on("SIGINT", async () => { - console.log("Stopping JSSTE APP Worker ..."); + console.log(`Stopping Worker ${process.pid}...`); websrv.close(); process.exit(); });