Initial files 3.4.6
This commit is contained in:
commit
7db7d80a98
9 changed files with 170 additions and 0 deletions
20
systemd_zookeeper@.service
Normal file
20
systemd_zookeeper@.service
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[Unit]
|
||||
Description=Zookeeper distributed coordination server (%i)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=zookeeper
|
||||
Group=zookeeper
|
||||
SyslogIdentifier=zookeeper-%i
|
||||
ExecStart=/usr/bin/java \
|
||||
-Dzookeeper.log.dir=/var/log/zookeeper/zookeeper-%i \
|
||||
-Dzookeeper.root.logger=INFO,ROLLINGFILE \
|
||||
-cp /usr/share/java/zookeeper/* \
|
||||
-Dlog4j.configuration=file:/etc/zookeeper/zookeeper-%i/log4j.properties \
|
||||
-Dcom.sun.management.jmxremote \
|
||||
-Dcom.sun.management.jmxremote.local.only=false \
|
||||
org.apache.zookeeper.server.quorum.QuorumPeerMain \
|
||||
/etc/zookeeper/zookeeper-%i/zoo.cfg
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue