If you're running a replica set or have a need to shard your database, you'll want an upstart script that looks something like this:
# /etc/init/myapp.conf
description "myapp.mydomain.com"
author "
[email protected]"
# used to be: start on startup
# until we found som...