Shell script to monitor any service in Linux. Run as a cron