Skip to content

Commit

Permalink
test shutdown script
Browse files Browse the repository at this point in the history
  • Loading branch information
ciusji committed Jul 14, 2022
1 parent 9cec523 commit d6226a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/server/lib/shutdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function runCleanupHandlers() {
* signal, which will no longer get caught.
*/
function signalExit(signal) {
var prog = 'grist[' + process.pid + ']';
var prog = 'irelia[' + process.pid + ']';
log.info("Server %s got signal %s; cleaning up (%d handlers)",
prog, signal, cleanupHandlers.length);
function dup() {
Expand Down Expand Up @@ -104,7 +104,7 @@ exports.cleanupOnSignals = cleanupOnSignals;
* Run cleanup handlers and exit the process with the given exit code (0 if omitted).
*/
function exit(optExitCode) {
var prog = 'grist[' + process.pid + ']';
var prog = 'irelia[' + process.pid + ']';
var code = optExitCode || 0;
log.info("Server %s cleaning up", prog);
return runCleanupHandlers()
Expand Down

0 comments on commit d6226a3

Please sign in to comment.