summarylogtreecommitdiffstats
path: root/heka.service
diff options
context:
space:
mode:
Diffstat (limited to 'heka.service')
-rw-r--r--heka.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/heka.service b/heka.service
new file mode 100644
index 000000000000..101922f2face
--- /dev/null
+++ b/heka.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=heka - data collector and processor daemon
+After=network.target auditd.service
+
+[Service]
+User=heka
+Group=heka
+
+Restart=on-failure
+
+ExecStart=/usr/bin/hekad -config=/etc/heka/conf.d/
+
+ExecReload=/usr/bin/kill --signal HUP ${MAINPID}
+
+[Install]
+WantedBy=multi-user.target