Run MongoDB as a Daemon
After Installation of your MongoDB, Run this command
sudo mongod --fork --logpath /var/log/mongodb.log
This starts Mongodb as a Daemon which logs to /var/log/mongodb.log
That's it.
Happy Hacking!!!
Written by Rajeev N Bharshetty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#