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 changed files with 1 additions and 0 deletions

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 {