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:
parent
44ec551ed9
commit
98338508d2
1
red.js
1
red.js
@ -179,6 +179,7 @@ RED.start().then(function() {
|
|||||||
if (settings.httpAdminRoot === false) {
|
if (settings.httpAdminRoot === false) {
|
||||||
util.log('[red] Admin UI disabled');
|
util.log('[red] Admin UI disabled');
|
||||||
}
|
}
|
||||||
|
process.title = 'node-red';
|
||||||
util.log('[red] Server now running at '+getListenPath());
|
util.log('[red] Server now running at '+getListenPath());
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user