#!/bin/sh
[ -f ./conf ] && . ./conf
: ${DEFAULT_CONF_PATH:='/etc/zookeeper/conf/environment'}
exec chpst -u _zookeeper \
/usr/share/zookeeper/bin/zkServer.sh start-foreground ${DEFAULT_CONF_PATH}