Monit script for monitoring the service