Skip to content

Instantly share code, notes, and snippets.

@chadfennell
Created October 21, 2016 15:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadfennell/219ebb7aac2dcc56e37f74b5ab2a2b79 to your computer and use it in GitHub Desktop.
Save chadfennell/219ebb7aac2dcc56e37f74b5ab2a2b79 to your computer and use it in GitHub Desktop.
check host localhost with address 127.0.0.1
start program = "/bin/bash /where_ever_you_want_to_put_this/restart_solr.sh"
if failed port 8983 protocol http and request "/solr/name_of_your_core_here/admin/ping" for 3 cycles then start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment