From 0786ec61082634142f999d9d428b82c28c3339de Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Thu, 25 Sep 2014 05:13:03 +0400 Subject: [PATCH] set process.title --- lib/cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cli.js b/lib/cli.js index d5f2f7454..1c1b89a85 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -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