Zookeeper setup
[lui-solr.git] / zookeeper / cloud-scripts / zkcli.sh
diff --git a/zookeeper/cloud-scripts/zkcli.sh b/zookeeper/cloud-scripts/zkcli.sh
new file mode 100755 (executable)
index 0000000..ab5da96
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+# You can override pass the following parameters to this script:
+# 
+
+JVM="java"
+
+# Find location of this script
+
+sdir="`dirname \"$0\"`"
+
+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+"$@"}
+