When I start the MongoDB server (mongod) from terminal it keeps that tab open. How do I go about running it as a service?

I'm on OSX Lion.

I like how the rails server script has a -d option to detach it from terminal.

Edit
Report