summaryrefslogtreecommitdiff
path: root/systemd/nfs-server.service
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2017-04-24 11:25:39 -0400
committerSteve Dickson <steved@redhat.com>2017-04-24 11:25:39 -0400
commit09e5c6c2a3f8eac91d5353e6d4ff6aee7757ab08 (patch)
treec7522eaefa5544b46de8ea30368cc5ad3c96497c /systemd/nfs-server.service
parent9d4fc3fb5133be2df69fa380f80d1c660827fd1b (diff)
downloadnfs-utils-09e5c6c2a3f8eac91d5353e6d4ff6aee7757ab08.tar.gz
systemd: Afters are also needed for the Wants=network-online.target
Commit 9d4fc3fb added Wants=network-online.target which is not enough to ensure the network is completely up before the NFS server is started. After=network-online.target is also needed. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1419351 Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/nfs-server.service')
-rw-r--r--systemd/nfs-server.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
index e6b8f58..136552b 100644
--- a/systemd/nfs-server.service
+++ b/systemd/nfs-server.service
@@ -7,7 +7,7 @@ Wants=rpcbind.socket network-online.target
Wants=rpc-statd.service nfs-idmapd.service
Wants=rpc-statd-notify.service
-After= local-fs.target
+After= network-online.target local-fs.target
After= proc-fs-nfsd.mount rpcbind.socket nfs-mountd.service
After= nfs-idmapd.service rpc-statd.service
Before= rpc-statd-notify.service