mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 19:45:22 +00:00
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635666 13f79535-47bb-0310-9956-ffa450edef68
18 lines
485 B
Bash
Executable File
18 lines
485 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# You can override pass the following parameters to this script:
|
|
#
|
|
|
|
JVM="java"
|
|
|
|
# Find location of this script
|
|
|
|
sdir="`dirname \"$0\"`"
|
|
|
|
if [ ! -d "$sdir/../../solr-webapp/webapp" ]; then
|
|
unzip $sdir/../../webapps/solr.war -d $sdir/../../solr-webapp/webapp
|
|
fi
|
|
|
|
PATH=$JAVA_HOME/bin:$PATH $JVM -Dlog4j.configuration=file:$sdir/log4j.properties -classpath "$sdir/../../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}
|
|
|