summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2017-12-16 15:31:21 -0500
committerSteve Dickson <steved@redhat.com>2017-12-16 15:32:05 -0500
commit91973cc5f84884cd6a80c4865d5153cfd3be734f (patch)
treed57dbd2cdf23d8c4cdd09ac89e2b4b893e98815d
parent89ce33d1d989c5937661d70d0024ea5cb0691689 (diff)
downloadrpcbind-91973cc5f84884cd6a80c4865d5153cfd3be734f.tar.gz
rpcbind.service: Not pulling the rpcbind.targetrpcbind-0_2_5-rc3
According to systemd.special(7) manpage: rpcbind.target The portmapper/rpcbind pulls in this target and orders itself before it, to indicate its availability. systemd automatically adds dependencies of type After= for this target unit to all SysV init script service units with an LSB header referring to the "$portmap" facility. Signed-off-by: Steve Dickson <steved@redhat.com> Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1431574
-rw-r--r--systemd/rpcbind.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
index f8cfa9f..7b1c74b 100644
--- a/systemd/rpcbind.service.in
+++ b/systemd/rpcbind.service.in
@@ -6,8 +6,8 @@ RequiresMountsFor=@statedir@
# Make sure we use the IP addresses listed for
# rpcbind.socket, no matter how this unit is started.
-Wants=rpcbind.socket
-After=rpcbind.socket
+Requires=rpcbind.socket
+Wants=rpcbind.target
[Service]
Type=notify