Create service monitoring and auto restarting script  solr