On 1/9/2014 12:07 AM, Karthikeyan.Kannappan wrote:
> Is it possible to have zookeeper as a service as like SolrCloud in Tomcat. I
> dont want to start the Zookeeper from the command prompt, which will be
> difficult to maintain if the machine restarts. If its possible, please share
> a link/steps to follow
> With Regards,
> Karthik

What operating system is this for?  I have a pretty simple way to get it
done on a Linux system, but if it's Windows, I haven't got a clue.

The following is a really short init script that can start zookeeper
installed at /opt/zoo:

#!/bin/sh

# chkconfig: - 75 50
# description: Starts and stops Zookeeper

cd /opt/zoo
bin/zkServer.sh $1

Reply via email to