Last active
October 22, 2015 20:20
-
-
Save h4t0n/34736448f8b3aac4e1c0 to your computer and use it in GitHub Desktop.
Default launcher for mongodb on OSX - output of brew install mongodb
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
# To have launchd start mongodb at login: | |
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents | |
# Then to load mongodb now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist | |
# Or, if you don't want/need launchctl, you can just run: | |
mongod --config /usr/local/etc/mongod.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment