#!/bin/sh # $FreeBSD: head/devel/zookeeper/files/zkCli.sh.in 506595 2019-07-14 02:46:42Z skreuzer $ zookeeper_log4jpropfile="file:%%ETCDIR%%/log4j.properties" zookeeper_rootlogger="WARN,CONSOLE" zookeeper_logdir="%%ZOOKEEPER_LOGDIR%%" JAVA=%%JAVA%% CLASSPATH=":%%DATADIR%%/*" zookeeper_main="org.apache.zookeeper.ZooKeeperMain" log4j_params="-Dzookeeper.log.dir=${zookeeper_logdir} \ -Dzookeeper.root.logger=${zookeeper_rootlogger} \ -Dlog4j.configuration=${zookeeper_log4jpropfile}" ${JAVA} -cp "$CLASSPATH" $CLIENT_JVMFLAGS $JVMFLAGS \ ${log4j_params} ${zookeeper_main} $@