Skip to content

Instantly share code, notes, and snippets.

@gerard-kanters
Last active August 29, 2015 14:07
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 gerard-kanters/d537b6399407c5b72e24 to your computer and use it in GitHub Desktop.
Save gerard-kanters/d537b6399407c5b72e24 to your computer and use it in GitHub Desktop.
/etc/solr.conf
#-----------------------------------------------------
# solr-initd v0.5.1
#-----------------------------------------------------
# Configuration for solr.init. Copy this to:
#
# /etc/solr.conf
#
# NOTE: if you are installing this somewhere else then
# you need to alter solr.start and solr.initd.
#
#-----------------------------------------------------
# Directory where solr is installed
SOLR_HOME=/data/solr/production
# Path to solr start script
SOLR_START=/var/lib/solr.start
# Java options for Solr
OPTIONS="-Xmx1024m"
# Path to pid file
PIDFILE=/var/run/solr.pid
# Path to log file
LOG_FILE=/var/log/solr.log
# Service name
NAME="Solr"
# Service description
DESC="start/stop Solr Server"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment