summaryrefslogtreecommitdiffstats
path: root/systemd/nfs-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/nfs-server.service')
-rw-r--r--systemd/nfs-server.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service
index dfe8dfa..26df656 100644
--- a/systemd/nfs-server.service
+++ b/systemd/nfs-server.service
@@ -2,6 +2,9 @@
Description=NFS server and services
Requires= network.target proc-fs-nfsd.mount rpcbind.target
PartOf=nfs-server.target
+Requires= nfs-mountd.service
+Wants=rpc-statd.service nfs-idmapd.service rpc-gssd.service rpc-svcgssd.service
+Wants=rpc-statd-notify.service
After= network.target proc-fs-nfsd.mount rpcbind.target nfs-mountd.service
After= nfs-idmapd.service rpc-statd.service
@@ -21,3 +24,6 @@ ExecStopPost=/usr/sbin/exportfs -au
ExecStopPost=/usr/sbin/exportfs -f
ExecReload=/usr/sbin/exportfs -r
+
+[Install]
+WantedBy=multi-user.target