1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Provide a process.title

Set the process.title to 'node-red'.
Helps identify node-red amongst a plethora of other nodejs processes
Aids monitoring systems in identifying running processes
This commit is contained in:
Kyle Gordon 2014-08-29 16:22:01 +01:00
parent 44ec551ed9
commit 98338508d2

1
red.js
View File

@ -179,6 +179,7 @@ RED.start().then(function() {
if (settings.httpAdminRoot === false) {
util.log('[red] Admin UI disabled');
}
process.title = 'node-red';
util.log('[red] Server now running at '+getListenPath());
});
} else {