How can I run mongod in the background on unix (mac osx)?

The MongoDB daemon (mongod) has a command-line option to run the server in the background… –fork This command-line option requires that you also specify a file to log messages to (since it can not use the current console). An example of this command looks like: mongod –fork –logpath /var/log/mongod.log You could put this into an … Read more