mongodb init.d script for cent os with master-slave replica config