zookeeper/zookeeper.service

15 lines
342 B
SYSTEMD
Raw Permalink Normal View History

2013-06-11 16:58:39 +00:00
[Unit]
Description=Zookeeper
[Service]
Type=simple
Environment=JAVA_HOME=/usr/lib/jvm/jre-1.7.0
Environment=ZOO_LOG_DIR=/home/zookeeper
WorkingDirectory=/home/zookeeper/zookeeper-3.4.5
User=zookeeper
ExecStart=/home/zookeeper/zookeeper-3.4.5/bin/zkServer.sh start-foreground
SyslogIdentifier=zookeeper
[Install]
WantedBy=multi-user.service