diff options
Diffstat (limited to 'charms/trusty/kafka/templates/upstart.conf')
-rw-r--r-- | charms/trusty/kafka/templates/upstart.conf | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/charms/trusty/kafka/templates/upstart.conf b/charms/trusty/kafka/templates/upstart.conf new file mode 100644 index 0000000..d24fe8c --- /dev/null +++ b/charms/trusty/kafka/templates/upstart.conf @@ -0,0 +1,14 @@ +#!upstart +description "kafka" + +start on startup +stop on shutdown + +setuid kafka +setgid hadoop + +respawn + +script +"{{kafka_bin}}/kafka-server-start.sh" "{{kafka_conf}}/server.properties" +end script |