Created
October 13, 2014 08:32
-
-
Save cbrunnkvist/ac81f437bde424f501a0 to your computer and use it in GitHub Desktop.
MongoDB lab start
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pushd $(dirname $0) > /dev/null | |
D=$(pwd) | |
echo D $D | |
popd > /dev/null | |
ulimit -n 1000 | |
mongod --dbpath $D --logpath $D/mongodb.log --fork $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment