From 16f62e65020023f33fc1c1d8351125d906cfe4db Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 3 Dec 2014 17:05:34 -0500 Subject: [PATCH] closes #2472 --- loader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/loader.js b/loader.js index 4ce2d84604..0b5dcb326a 100644 --- a/loader.js +++ b/loader.js @@ -255,7 +255,10 @@ if (nconf.get('daemon') !== false) { } } - require('daemon')(); + require('daemon')({ + stdout: process.stdout, + stderr: process.stderr + }); fs.writeFile(__dirname + '/pidfile', process.pid); }