mirror of
https://github.com/lucaspalomodevelop/JSSTE_APP.git
synced 2026-03-13 00:07:22 +00:00
add processid to stop message
This commit is contained in:
parent
b6b3244366
commit
46ad7daf9c
@ -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();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user