fix init.d script to return proper status code when checking its status
fix init.d script to return proper status code when checking its status

eResearchSA/reporting-producers,eResearchSA/reporting-producers,shundezhang/reporting-producers,shundezhang/reporting-producers