Jackrabbit-startup-script
Jackrabbit-startup-script copied to clipboard
Simple script to start / stop a jackrabbit server
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...
I've moved the config options to /etc/default/jackrabbit to follow debian conventions.
jackrabbit start just waits forever for jackrabbit.jar to come up. i think we should have a (configurable) timeout after which we abort and report the service start as failed. otherwise...
Configuration management tools like puppet rely on exit code when checking whether a service is running.
currently this script just checks for existence of a .pid file to decide whether jackrabbit is running. would be nice if it could actually check whether jackrabbit really is running....