0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

set process.title

This commit is contained in:
Alex Kocharin 2014-09-25 05:13:03 +04:00
parent 2dca3114e9
commit 0786ec6108

View file

@ -6,6 +6,8 @@ if (process.getuid && process.getuid() === 0) {
global.console.error("Sinopia doesn't need superuser privileges. Don't run it under root.")
}
process.title = 'sinopia'
try {
// for debugging memory leaks
// totally optional