summaryrefslogtreecommitdiffstats
path: root/extras/systemd/glusterd.service.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2013-06-27 10:44:44 -0400
committerVijay Bellur <vbellur@redhat.com>2013-06-28 09:23:17 -0700
commite216e2e6fcc537d7fdae4527043a2a71732c7d36 (patch)
tree3c0542b184e95c8e30b49d45b5026fceaada3ac7 /extras/systemd/glusterd.service.in
parentfdc83183263e04bee56672e9d9922cc9457146cb (diff)
build: sync glusterfs.spec.in with Fedora glusterfs.spec
* fix the hardening fix for shlibs * use %{__sed} macro * better short ChangeLog * fix hard-coded path in extras/systemd/glusterd.service in, use @prefix@ Change-Id: I267244b68a97cbcd6f6ab62fc322c78db45023bb BUG: 950083 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/5264 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'extras/systemd/glusterd.service.in')
-rw-r--r--extras/systemd/glusterd.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/systemd/glusterd.service.in b/extras/systemd/glusterd.service.in
index 0b24aea3bec..072a1278b67 100644
--- a/extras/systemd/glusterd.service.in
+++ b/extras/systemd/glusterd.service.in
@@ -6,7 +6,8 @@ After=network.target rpcbind.service
Type=forking
PIDFile=/run/glusterd.pid
LimitNOFILE=65536
-ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid
+ExecStart=@prefix@/sbin/glusterd -p /run/glusterd.pid
+KillMode=process
[Install]
WantedBy=multi-user.target