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); }