Recently, I have a project that need to use mongodb. I find this post from ryan’s railscasts MongoDB and MongoMapper, which explains how to install mongodb and create a launchd that will automatically start and stop the daemon when you trun on and shutdown macbook. However, I’d like to use macports to control the version of mongodb, and want to start and stop mongodb daemon only when I want to use