Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple script to start / stop a jackrabbit server
tree: 385e36e40d

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


Simple script to start / stop a Jackrabbit server.

Author: D. Barsotti <>

A script to start and stop apache jackrabbit according to the init.d mechanism

This relies on a PID file to check if Jackrabbit is running.
If you kill Jackrabbit without removing the PID file, you will not be able to start Jackrabbit with this script until you manually remove the PID file.


    mkdir -p /opt/jackrabbit-startup    # or wherever you want to put the code
    cd /opt/jackrabbit-startup
    git clone
    ## <edit to configure some settings> ##
    ln -s /opt/jackrabbit-startup/ /etc/init.d/jackrabbit
    chmod 755 /etc/init.d/jackrabbit
    # on debian, register with
    update-rc.d jackrabbit defaults
    # if not using a system that provides update-rc.d, you hopefully know how
    # to proceed...


The service should be started and stopped automatically from now on.

If you ever want to control it manually, you can run

    /etc/init.d/jackrabbit start|stop|status

If you have a pid file blocking startup, you can just stop and then start
jackrabbit again. You will get an error on stop that you can ignore.

    /etc/init.d/jackrabbit stop
    /etc/init.d/jackrabbit start
Something went wrong with that request. Please try again.