View | Details | Raw Unified | Return to bug 195826
Collapse All | Expand All

(-)solr.in (-2 / +6 lines)
Lines 38-50 Link Here
38
38
39
: ${solr_enable:=NO}
39
: ${solr_enable:=NO}
40
: ${solr_instance:=/var/db/solr}
40
: ${solr_instance:=/var/db/solr}
41
: ${solr_pidfile:=/var/run/solr.pid}
42
: ${solr_log:=/var/log}
43
: ${solr_host:=0.0.0.0}
44
: ${solr_port:=8983}
41
45
42
required_files=${solr_instance}/solr.xml
46
required_files=${solr_instance}/solr.xml
43
pidfile=/var/run/solr.pid
47
pidfile=${solr_pidfile}
44
command=/usr/sbin/daemon
48
command=/usr/sbin/daemon
45
procname=%%LOCALBASE%%/openjdk7/bin/java
49
procname=%%LOCALBASE%%/openjdk7/bin/java
46
start_precmd="cd %%EXAMPLESDIR%%"
50
start_precmd="cd %%EXAMPLESDIR%%"
47
51
48
command_args="-f -p ${pidfile} ${procname} ${solr_flags} -Dsolr.solr.home=${solr_instance} -Dsolr.log=/var/log -jar %%EXAMPLESDIR%%/start.jar"
52
command_args="-f -p ${pidfile} ${procname} ${solr_flags} -Djetty.host=${solr_host} -Djetty.port=${solr_port} -Dsolr.solr.home=${solr_instance} -Dsolr.log=${solr_log} -jar %%EXAMPLESDIR%%/start.jar"
49
53
50
run_rc_command "$1"
54
run_rc_command "$1"

Return to bug 195826