From a4930f0838f1224bdf4fa0885e858e7a865513ca Mon Sep 17 00:00:00 2001
From: startxfr <clarue@startx.fr>
Date: Sun, 29 Nov 2015 22:29:05 +0100
Subject: reshappe nodejs container

---
 Services/mongo/run.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'Services/mongo/run.sh')

diff --git a/Services/mongo/run.sh b/Services/mongo/run.sh
index 3dd509d..195100e 100644
--- a/Services/mongo/run.sh
+++ b/Services/mongo/run.sh
@@ -72,9 +72,9 @@ function end_config {
 # Start the mongodb server as a deamon and execute it inside 
 # the running shell
 function start_daemon {
-    echo "=> Starting mongodb daemon ..."
+    echo "=> Starting mongodb daemon ..." | tee -a $STARTUPLOG
     su mongodb
-    display_container_started
+    display_container_started | tee -a $STARTUPLOG
     exec /usr/bin/mongod --config $MONGOCONF --logappend --logpath $LOG_PATH \
     --dbpath $DATA_PATH --journal --httpinterface \
     --rest --master --storageEngine mmapv1
@@ -89,4 +89,4 @@ check_mongodb_environment | tee -a $STARTUPLOG
 display_container_mongodb_header | tee -a $STARTUPLOG
 begin_config | tee -a $STARTUPLOG
 end_config | tee -a $STARTUPLOG
-start_daemon | tee -a $STARTUPLOG
+start_daemon
-- 
cgit v1.2.3