/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
mongod --fork --logpath /var/log/mongod.log
URL: http://serverfault.com/questions/157705/how-can-i-run-mongod-in-the-background-on-unix-mac-osx