summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2015-02-09 08:54:54 -0500
committerSteve Dickson <steved@redhat.com>2015-02-09 08:54:54 -0500
commit650633d4e956dc6b628da30c868e39fba76a0b29 (patch)
treec49da1b61f2a6047208b7fde0c257a126e891ccb
parent17a3e5bffb7110d46de1bf42b64b90713ff5ea50 (diff)
downloadnfs-utils-650633d4e956dc6b628da30c868e39fba76a0b29.tar.gz
nfs-utils-650633d4e956dc6b628da30c868e39fba76a0b29.tar.xz
nfs-utils-650633d4e956dc6b628da30c868e39fba76a0b29.zip
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. Signed-off-by: Steve Dickson <steved@redhat.com> Reported-By: Eric Work <work.eric@gmail.com>
-rw-r--r--systemd/rpc-statd-notify.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/rpc-statd-notify.service b/systemd/rpc-statd-notify.service
index 941afe5..a655445 100644
--- a/systemd/rpc-statd-notify.service
+++ b/systemd/rpc-statd-notify.service
@@ -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.