Jackrabbit-startup-script icon indicating copy to clipboard operation
Jackrabbit-startup-script copied to clipboard

Improve status check

Open EmmanuelVella opened this issue 10 years ago • 0 comments

My initial problem is that after a crash, the PID file is not removed and jackrabbit won't start at boot.

I added a is_started function that makes a curl call and test if the response contains the "Jackrabbit" word. Not very elegant but that's the best solution I found to test if :

  • something is running on the jackrabbit port
  • it is jackrabbit

This PR was inspired by https://github.com/sixty-nine/Jackrabbit-startup-script/issues/2

EmmanuelVella avatar Jan 28 '15 16:01 EmmanuelVella