Skip to content

Commit

Permalink
fix #919 docker crash on 2nd start (#1060)
Browse files Browse the repository at this point in the history
  • Loading branch information
cracker0dks authored and lodoyun committed Nov 15, 2017
1 parent a69ece9 commit e191255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extras/docker/initDockerLicode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ run_mongo() {
if [ ! -d "$DB_DIR" ]; then
mkdir -p "$DB_DIR"/db
fi
mongod --repair --dbpath $DB_DIR
mongod --nojournal --dbpath $DB_DIR --logpath $BUILD_DIR/mongo.log --fork
sleep 5
else
Expand Down

0 comments on commit e191255

Please sign in to comment.