diff options
-rw-r--r-- | systemd/nfs-server.service | 5 | ||||
-rw-r--r-- | systemd/rpc-statd.service | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service index 317e5d6..2ccdc63 100644 --- a/systemd/nfs-server.service +++ b/systemd/nfs-server.service @@ -1,13 +1,14 @@ [Unit] Description=NFS server and services DefaultDependencies=no -Requires= network.target proc-fs-nfsd.mount rpcbind.target +Requires= network.target proc-fs-nfsd.mount Requires= nfs-mountd.service +Wants=rpcbind.socket Wants=rpc-statd.service nfs-idmapd.service Wants=rpc-statd-notify.service After= local-fs.target -After= network.target proc-fs-nfsd.mount rpcbind.service nfs-mountd.service +After= network.target proc-fs-nfsd.mount rpcbind.socket nfs-mountd.service After= nfs-idmapd.service rpc-statd.service Before= rpc-statd-notify.service diff --git a/systemd/rpc-statd.service b/systemd/rpc-statd.service index f16ea42..a02f5c4 100644 --- a/systemd/rpc-statd.service +++ b/systemd/rpc-statd.service @@ -2,8 +2,8 @@ Description=NFS status monitor for NFSv2/3 locking. DefaultDependencies=no Conflicts=umount.target -Requires=nss-lookup.target rpcbind.target -After=network.target nss-lookup.target rpcbind.service +Requires=nss-lookup.target rpcbind.socket +After=network.target nss-lookup.target rpcbind.socket PartOf=nfs-utils.service |