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.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
index fc8d8c9a235..a5d260d86e7 100644
--- a/extras/systemd/glusterd.service.in
+++ b/extras/systemd/glusterd.service.in
@@ -5,9 +5,9 @@ Before=network-online.target
[Service]
Type=forking
-PIDFile=/run/glusterd.pid
+PIDFile=@localstatedir@/run/glusterd.pid
LimitNOFILE=65536
-ExecStart=@prefix@/sbin/glusterd -p /run/glusterd.pid
+ExecStart=@prefix@/sbin/glusterd -p @localstatedir@/run/glusterd.pid
KillMode=process
[Install]