mongodb/mongo — pull request #567 by Krolcom (2013-12-05 14:27:05+00:00)
Title: Updated Mongo Daemon

This will allow the mongod script to copied and load its own separate config. I use this to copy mongod->mongoc and create a config /etc/mongoc.conf for running mongod and mongo config servers on the same machine.

Configuration:
1. Place script in /etc/init.d
2. Rename script to desired configuration name. ex: /etc/init.d/mongoc will load /etc/init.d/mongoc.conf

Improvements:
1. This script will no longer kill all mongod processes when executing '/etc/init.d/mongod stop'
2. This script will automatically find associated configuration files from /etc/
3. This script will make it easier to run both mongod and mongoc on the same server.