mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:50 +02:00
18 lines
387 B
Desktop File
18 lines
387 B
Desktop File
[Unit]
|
|
Description=Zookeeper Service
|
|
Documentation=http://zookeeper.apache.org
|
|
Requires=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=zookeeper
|
|
Group=zookeeper
|
|
Environment=/opt/zookeeper/
|
|
ExecStart=/opt/zookeeper/bin/zkServer.sh start
|
|
ExecStop=/opt/zookeeper/bin/zkServer.sh stop
|
|
ExecReload=/opt/zookeeper/bin/zkServer.sh restart
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|