summaryrefslogtreecommitdiffstats
path: root/Services/mongo/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Services/mongo/run.sh')
-rw-r--r--Services/mongo/run.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/Services/mongo/run.sh b/Services/mongo/run.sh
index 195100e..60b82c8 100644
--- a/Services/mongo/run.sh
+++ b/Services/mongo/run.sh
@@ -75,9 +75,8 @@ function start_daemon {
echo "=> Starting mongodb daemon ..." | tee -a $STARTUPLOG
su mongodb
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
+ /usr/bin/mongod --logappend --logpath $LOG_PATH/mongodb.log --dbpath $DATA_PATH --journal --fork
+ exec tail -f $LOG_PATH/mongodb.log
}