Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] rpcbind.service: Not pulling the rpcbind.target
@ 2017-12-14 17:05 Steve Dickson
  2017-12-14 17:48 ` [systemd-devel] " Uoti Urpala
  2017-12-14 18:05 ` Lennart Poettering
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Dickson @ 2017-12-14 17:05 UTC (permalink / raw)
  To: Linux NFS Mailing list; +Cc: Systemd Mailing List

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>
---
 systemd/rpcbind.service.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in
index f8cfa9f..2b49c24 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
+Wants=rpcbind.socket rpcbind.target
+After=rpcbind.socket rpcbind.target
 
 [Service]
 Type=notify
-- 
2.14.3


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-14 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-14 17:05 [PATCH] rpcbind.service: Not pulling the rpcbind.target Steve Dickson
2017-12-14 17:48 ` [systemd-devel] " Uoti Urpala
2017-12-14 18:24   ` Steve Dickson
2017-12-14 18:47     ` Uoti Urpala
2017-12-14 20:20       ` Steve Dickson
2017-12-14 18:05 ` Lennart Poettering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox