This commit is contained in:
Julian Lam
2017-07-20 15:43:11 -04:00
parent 72fb92fa96
commit 568b2b9957

View File

@@ -223,6 +223,7 @@ fs.open(path.join(__dirname, 'config.json'), 'r', function (err) {
require('daemon')({
stdout: process.stdout,
stderr: process.stderr,
cwd: process.cwd(),
});
fs.writeFileSync(pidFilePath, process.pid);