From aac923fb03351f08c6a563367919f0ec135ca2f8 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 22 Oct 2014 13:47:05 -0400 Subject: [PATCH] fised #2272 --- app.js | 2 +- loader.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index 3b02134831..65c15d5a3d 100644 --- a/app.js +++ b/app.js @@ -106,7 +106,7 @@ function loadConfig() { function start() { loadConfig(); - if (!cluster.isWorker) { + if (!cluster.isWorker || process.env.cluster_setup === 'true') { winston.info('Time: ' + new Date()); winston.info('Initializing NodeBB v' + pkg.version); winston.info('* using configuration stored in: ' + configFile); diff --git a/loader.js b/loader.js index 7e63804175..d3ec02e613 100644 --- a/loader.js +++ b/loader.js @@ -45,6 +45,7 @@ Loader.init = function(callback) { }; Loader.displayStartupMessages = function(callback) { + console.log(''); console.log('NodeBB v' + pkg.version + ' Copyright (C) 2013-2014 NodeBB Inc.'); console.log('This program comes with ABSOLUTELY NO WARRANTY.'); console.log('This is free software, and you are welcome to redistribute it under certain conditions.');