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

v1.18.x
Julian Lam 11 years ago
parent 783481e644
commit 4125a087b5

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

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

Loading…
Cancel
Save