NAME=zookeeper
ZOODIR="<%= node[:zookeeper][:install_dir] %>/zookeeper-<%= node[:zookeeper][:version] %>"
ZOOCFGDIR="$ZOODIR/conf"

CLASSPATH="$ZOODIR/build/classes:$ZOODIR/bin/build/lib/*.jar:$ZOODIR/lib/slf4j-log4j12-1.6.1.jar:$ZOODIR/lib/slf4j-api-1.6.1.jar:$ZOODIR/lib/netty-3.7.0.Final.jar:$ZOODIR/lib/log4j-1.2.16.jar:$ZOODIR/lib/jline-0.9.94.jar:$ZOODIR/zookeeper-3.4.6.jar:$ZOODIR/src/java/lib/*.jar:$ZOOCFGDIR"

ZOOCFG="$ZOOCFGDIR/zoo.cfg"
ZOO_LOG_DIR="/var/log/$NAME"
USER="$NAME"
GROUP="$NAME"
PIDDIR="/var/run/$NAME"
PIDFILE="$PIDDIR/$NAME.pid"
SCRIPTNAME="/etc/init.d/$NAME"
JAVA="/usr/bin/java"
ZOOMAIN="org.apache.zookeeper.server.quorum.QuorumPeerMain"
ZOO_LOG4J_PROP="INFO,ROLLINGFILE"
JMXLOCALONLY=false
JAVA_OPTS="-Xms128M -Xmx512M"
