mongodb init.d script for centos with replica config