Last active
August 29, 2015 14:00
-
-
Save ericwilson/11336187 to your computer and use it in GitHub Desktop.
Service script for the Solr search engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Service script for the Solr search engine | |
description "Service script for the Solr search engine" | |
author "Eric Wilson <eric@coolcompany.com>" | |
version "1.0.0" | |
start on runlevel [2345] | |
stop on runlevel [016] | |
kill timeout 30 | |
respawn | |
script | |
chdir /opt/solr-4.2.0/example | |
exec /usr/bin/java -jar start.jar | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment