Fixed init script to work with chef properly

Monitorix currently does not work with chef properly. It returns status code 0 which results in chef thinking that service is running even when it's not. This pull request fixes that.