closed #2349, removed use of deprecated -d flag in executable

This commit is contained in:
Julian Lam
2014-11-04 18:29:56 -05:00
parent 783481e644
commit 4125a087b5
2 changed files with 5 additions and 4 deletions

View File

@@ -192,9 +192,10 @@ Loader.start = function(callback) {
function forkWorker(isPrimary) {
var worker = cluster.fork({
cluster_setup: isPrimary,
handle_jobs: isPrimary
});
cluster_setup: isPrimary,
handle_jobs: isPrimary
}),
output = logrotate({ file: __dirname + '/logs/output.log', size: '1m', keep: 3, compress: true });
if (silent) {
worker.process.stdout.pipe(output);