summaryrefslogtreecommitdiffstats
path: root/Services/mongo/run.sh
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-29 23:52:56 +0100
committerstartxfr <clarue@startx.fr>2015-11-29 23:52:56 +0100
commitd3189d55206417557b03fde732693aaffca54cf8 (patch)
tree1c3d7ea129879cbff7cb534a4222ee13aadb6f3e /Services/mongo/run.sh
parenta4930f0838f1224bdf4fa0885e858e7a865513ca (diff)
downloadphpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.gz
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.bz2
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.xz
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.zip
bugfix for mongo service and reshapping of ooconv
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
}