v1.18.x
barisusakli 10 years ago
parent 7d6c81160b
commit 16f62e6502

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

Loading…
Cancel
Save