File: //etc/sysconfig/cpanel-dovecot-solr
#-----------------------------------------------------
# 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.
#
#-----------------------------------------------------
# Author: Jeff Busby <jeff@jeffbusby.ca>
# License: http://creativecommons.org/licenses/by/3.0/
#-----------------------------------------------------
#
# Set the JAVA_HOME for Solr
SOLR_JAVA_HOME="/usr/lib/jvm/jre-11"
# The hostname in the context of Solr
SOLR_HOSTNAME="127.0.0.1"
# Directory where solr is installed
SOLR_HOME="/home/cpanelsolr/server/solr"
# Solr Listen Port
SOLR_PORT=8984
# Solr JVM memory allocation
SOLR_MEMORY="512m"
# Java options for Solr
SOLR_JVM_OPTS="-Dsolr.autoSoftCommit.maxTime=3000"