diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /net-misc/kafka-bin/files/kafka-connect-distributed.init.d | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'net-misc/kafka-bin/files/kafka-connect-distributed.init.d')
-rw-r--r-- | net-misc/kafka-bin/files/kafka-connect-distributed.init.d | 28 |
1 files changed, 28 insertions, 0 deletions
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 |