summaryrefslogtreecommitdiffstats
path: root/extras/systemd/glustereventsd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'extras/systemd/glustereventsd.service.in')
-rw-r--r--extras/systemd/glustereventsd.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/systemd/glustereventsd.service.in b/extras/systemd/glustereventsd.service.in
new file mode 100644
index 0000000..2be3f25
--- /dev/null
+++ b/extras/systemd/glustereventsd.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=Gluster Events Notifier
+After=syslog.target network.target
+
+[Service]
+Type=simple
+ExecStart=@SBIN_DIR@/glustereventsd
+ExecReload=/bin/kill -SIGUSR2 $MAINPID
+KillMode=control-group
+
+[Install]
+WantedBy=multi-user.target