[Unit] Description=Zookeeper service After=network.target [Service] User=www Group=www SyslogIdentifier=zookeeper ExecStart=/usr/local/zookeeper/bin/zkServer.sh start ExecStop=/usr/local/zookeeper/bin/zkServer.sh stop [Install] WantedBy=multi-user.target