blob: c6c6f0a6d929e25e985f524b56a9b7ebb3016602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# JVM options
JVM_OPTS=""
# zookeeper files
MAIN="org.apache.zookeeper.server.quorum.QuorumPeerMain"
CONFIG="/opt/zookeeper-bin/conf/zoo.cfg"
# build the classpath
INSTALL_DIR=/opt/zookeeper-bin
CLASSPATH="${INSTALL_DIR}/conf:${CLASSPATH}"
for i in ${INSTALL_DIR}/zookeeper-*.jar; do
CLASSPATH="${i}:${CLASSPATH}"
done
for i in ${INSTALL_DIR}/lib/*.jar; do
CLASSPATH="${i}:${CLASSPATH}"
done
|