zookeeper/zookeeper.service

14 lines
188 B
SYSTEMD

[Unit]
Description=zookeeper
[Service]
User=root
Type=simple
ExecStart=/usr/bin/zookeeper
ExecStop=killall zookeeper
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target