summarylogtreecommitdiffstats
path: root/heka.service
diff options
context:
space:
mode:
authornfnty2016-02-02 15:26:58 +0100
committernfnty2016-02-02 15:26:58 +0100
commit5a6a3025e4e1b12f62271c971d7fde77923e2fc3 (patch)
tree0fe2d296b70d6313df27b336a3649719af27bea2 /heka.service
parentb3de3d981cb515b43f2da0d5497108b20a8bb092 (diff)
downloadaur-5a6a3025e4e1b12f62271c971d7fde77923e2fc3.tar.gz
Add service and install
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