blob: 3b23a7fac7c9004a221a0112cb42e65c72e651dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
description="Kafka distributed messaging system"
logfile="/var/log/kafka/kafka.log"
command="/opt/kafka/bin/kafka-server-start.sh"
command_args="/etc/kafka/server.properties"
start_stop_daemon_args="--user kafka --chdir /opt/kafka --stdout $logfile --stderr $logfile"
command_background=yes
pidfile=/run/kafka.pid
depend() {
after zookeeper kafka-zookeeper
}
|