https://github.com/allanbank/mongodb-tricks

https://github.com/allanbank/mongodb-tricks/blob/master/src/main/scripts/replica-set-start.sh