[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