Skip to content

Instantly share code, notes, and snippets.

@thanhson1085
Created March 11, 2016 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thanhson1085/73297a0d29dd5ef748af to your computer and use it in GitHub Desktop.
Save thanhson1085/73297a0d29dd5ef748af to your computer and use it in GitHub Desktop.
Kafka Upstart Ubuntu 14.04
# Kafka Upstart
#
description "Kafka"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
respawn limit 2 20
env KAFKA_HOME=/home/ubuntu/kafka_2.11-0.8.2.2
exec $KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment