summaryrefslogtreecommitdiffstats
path: root/extras/systemd/glusterd.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'extras/systemd/glusterd.service.in')
-rw-r--r--extras/systemd/glusterd.service.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
new file mode 100644
index 000000000..0b24aea3b
--- /dev/null
+++ b/extras/systemd/glusterd.service.in
@@ -0,0 +1,12 @@
+[Unit]
+Description=GlusterFS an clustered file-system server
+After=network.target rpcbind.service
+
+[Service]
+Type=forking
+PIDFile=/run/glusterd.pid
+LimitNOFILE=65536
+ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid
+
+[Install]
+WantedBy=multi-user.target