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

@@ -194,7 +194,8 @@ function forkWorker(isPrimary) {
var worker = cluster.fork({
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);

2
nodebb
View File

@@ -29,7 +29,7 @@ case "$1" in
echo " \"./nodebb log\" to view server output";
# Start the loader daemon
"$node" loader -d "$@"
"$node" loader "$@"
;;
stop)