summaryrefslogtreecommitdiffstats
path: root/extras/systemd/glusterd.service.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2019-04-01 09:03:12 -0400
committerAtin Mukherjee <amukherj@redhat.com>2019-04-23 11:45:44 +0000
commit17992b69ccc729d59241ceff2aa480d1976e02fc (patch)
tree53a8c24b3902319129d4c2a0c01f7adbe43dc0e1 /extras/systemd/glusterd.service.in
parent4f0db1373be93e05b6fc451d2f07514704d3c4ca (diff)
build: conditional rpcbind for gnfs in glusterd.service
Don't Require: rpcbind in glusterd.service when gnfs isn't built Also add .../gluster-ta-volume.service to .gitignore See https://github.com/gluster/glusterfs/issues/647 Change-Id: I4d90cf66b12c378c0a9aace89a3a4bbf3784c284 Fixes: #647 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
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 c33351cb43b..89ef402ac83 100644
--- a/extras/systemd/glusterd.service.in
+++ b/extras/systemd/glusterd.service.in
@@ -1,8 +1,8 @@
[Unit]
Description=GlusterFS, a clustered file-system server
Documentation=man:glusterd(8)
-Requires=rpcbind.service
-After=network.target rpcbind.service
+Requires=@RPCBIND_SERVICE@
+After=network.target @RPCBIND_SERVICE@
Before=network-online.target
[Service]