From c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Feb 2021 21:41:11 +0000 Subject: gentoo (valentine's day) resync : 14.02.2021 --- .../files/kafka-connect-distributed.init.d | 28 ++++++++++++++++++++++ net-misc/kafka-bin/files/kafka.init.d.5 | 28 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 net-misc/kafka-bin/files/kafka-connect-distributed.init.d create mode 100644 net-misc/kafka-bin/files/kafka.init.d.5 (limited to 'net-misc/kafka-bin/files') diff --git a/net-misc/kafka-bin/files/kafka-connect-distributed.init.d b/net-misc/kafka-bin/files/kafka-connect-distributed.init.d new file mode 100644 index 000000000000..0a61c7d017eb --- /dev/null +++ b/net-misc/kafka-bin/files/kafka-connect-distributed.init.d @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Kafka Connect of Kafka distributed messaging system" + +logfile="/var/log/kafka/connect-distributed.log" + +command="/opt/kafka/bin/connect-distributed.sh" +command_args="/etc/kafka/connect-distributed.properties" +command_background=yes +command_user="kafka:kafka" + +pidfile=/run/kafka-connect-distributed.pid + +start_stop_daemon_args="--stdout $logfile --stderr $logfile +--env CLASSPATH=\"${CLASSPATH}\" +--env KAFKA_LOG4J_OPTS=\"${KAFKA_LOG4J_OPTS}\" +--env KAFKA_OPTS=\"${KAFKA_OPTS}\" +--env KAFKA_JMX_OPTS=\"${KAFKA_JMX_OPTS}\" +--env JMX_PORT=\"${JMX_PORT}\" +--env KAFKA_HEAP_OPTS=\"${KAFKA_HEAP_OPTS}\" +--env KAFKA_JVM_PERFORMANCE_OPTS=\"${KAFKA_JVM_PERFORMANCE_OPTS}\" +" + +depend() { + after kafka +} \ No newline at end of file diff --git a/net-misc/kafka-bin/files/kafka.init.d.5 b/net-misc/kafka-bin/files/kafka.init.d.5 new file mode 100644 index 000000000000..3ee2aa9797ee --- /dev/null +++ b/net-misc/kafka-bin/files/kafka.init.d.5 @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# 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" +command_background=yes +command_user="kafka:kafka" + +pidfile=/run/kafka.pid + +start_stop_daemon_args="--stdout $logfile --stderr $logfile +--env CLASSPATH=\"${CLASSPATH}\" +--env KAFKA_LOG4J_OPTS=\"${KAFKA_LOG4J_OPTS}\" +--env KAFKA_OPTS=\"${KAFKA_OPTS}\" +--env KAFKA_JMX_OPTS=\"${KAFKA_JMX_OPTS}\" +--env JMX_PORT=\"${JMX_PORT}\" +--env KAFKA_HEAP_OPTS=\"${KAFKA_HEAP_OPTS}\" +--env KAFKA_JVM_PERFORMANCE_OPTS=\"${KAFKA_JVM_PERFORMANCE_OPTS}\" +" + +depend() { + after zookeeper kafka-zookeeper +} -- cgit v1.2.3