mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
closed #2349, removed use of deprecated -d flag in executable
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user