Skip to contentSkip to conversation

rpc-statd-notify: Don't wait for the network to come up

PATCH In review Steve Dickson 1 participant 2 messages Feb 9, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpc-statd-notify: Don't wait for the network to come up

rpc-statd-notify only needs to wait for the network interface to be configured not to be connected since it forks into background and will wait 15mins for the network to come up.

This decrease boot times when networks are not and will not be connected.

---
 systemd/rpc-statd-notify.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
systemd/rpc-statd-notify.service +1 -1
index 941afe5..a655445 100644
@@ -1,7 +1,7 @@
 [Unit]
 Description=Notify NFS peers of a restart
 Requires=network-online.target
-After=network-online.target nss-lookup.target
+After=network.target nss-lookup.target
 
 # if we run an nfs server, it needs to be running before we
 # tell clients that it has restarted.
Signature · 1 line
2.1.0
#1 lore raw
Quoted 10 lines · Steve Dickson

rpc-statd-notify only needs to wait for the network interface to be configured not to be connected since it forks into background and will wait 15mins for the network to come up.

This decrease boot times when networks are not and will not be connected.

Committed...

steved.

Quoted 18 lines
---
 systemd/rpc-statd-notify.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
systemd/rpc-statd-notify.service +1 -1
index 941afe5..a655445 100644
@@ -1,7 +1,7 @@
 [Unit]
 Description=Notify NFS peers of a restart
 Requires=network-online.target
-After=network-online.target nss-lookup.target
+After=network.target nss-lookup.target
 
 # if we run an nfs server, it needs to be running before we
 # tell clients that it has restarted.