Skip to content
Browse files

Add Before=remote-fs.target to all services.

It is not necessary to use nfs3-client.target nor nfs4-client.target.
  • Loading branch information...
1 parent f79ec82 commit 355d8d874fd863fe4c7fa39c5b303d22ca6727c8 @mgorny committed Dec 18, 2011
Showing with 3 additions and 0 deletions.
  1. +1 −0 net-fs:nfs-utils/rpc.gssd.service
  2. +1 −0 net-fs:nfs-utils/rpc.idmapd.service
  3. +1 −0 net-fs:nfs-utils/rpc.statd.service
View
1 net-fs:nfs-utils/rpc.gssd.service
@@ -3,6 +3,7 @@ Description=NFS rpcsec_gss daemon
Requires=var-lib-nfs-rpc_pipefs.mount
Requires=rpcbind.target
After=syslog.target var-lib-nfs-rpc_pipefs.mount rpcbind.target
+Before=remote-fs.target
[Service]
ExecStart=/usr/sbin/rpc.gssd -f
View
1 net-fs:nfs-utils/rpc.idmapd.service
@@ -3,6 +3,7 @@ Description=NFSv4 ID-name mapping daemon
Wants=var-lib-nfs-rpc_pipefs.mount
Requires=network.target var-lib-nfs-rpc_pipefs.mount rpcbind.target
After=syslog.target network.target named.service rpcbind.target
+Before=remote-fs.target
[Service]
ExecStart=/usr/sbin/rpc.idmapd -f
View
1 net-fs:nfs-utils/rpc.statd.service
@@ -2,6 +2,7 @@
Description=NFS file locking service
Requires=rpcbind.target
After=syslog.target network.target rpcbind.target
+Before=remote-fs.target
[Service]
ExecStart=/sbin/rpc.statd --no-notify -d -F

0 comments on commit 355d8d8

Please sign in to comment.
Something went wrong with that request. Please try again.