mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +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) {
|
function forkWorker(isPrimary) {
|
||||||
var worker = cluster.fork({
|
var worker = cluster.fork({
|
||||||
cluster_setup: isPrimary,
|
cluster_setup: isPrimary,
|
||||||
handle_jobs: isPrimary
|
handle_jobs: isPrimary
|
||||||
});
|
}),
|
||||||
|
output = logrotate({ file: __dirname + '/logs/output.log', size: '1m', keep: 3, compress: true });
|
||||||
|
|
||||||
if (silent) {
|
if (silent) {
|
||||||
worker.process.stdout.pipe(output);
|
worker.process.stdout.pipe(output);
|
||||||
|
|||||||
Reference in New Issue
Block a user