summaryrefslogtreecommitdiff
path: root/systemd/var-lib-nfs-rpc_pipefs.mount
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2014-02-13 13:52:42 -0500
committerSteve Dickson <steved@redhat.com>2014-03-24 16:30:04 -0400
commitd5bd709307a05e14b7a2441b7576b68db85237c1 (patch)
tree7ea5a46a0241f63f458f9af95a597b38d49f6071 /systemd/var-lib-nfs-rpc_pipefs.mount
parentc0512981b7e10487378e5c6fec5d7d72dd4f7e1a (diff)
downloadnfs-utils-d5bd709307a05e14b7a2441b7576b68db85237c1.tar.gz
systemd: tidy up DefaultDependencies
DefaultDependencies should be "yes" (the default) for things needed only be the NFS server, as that is a service that doesn't need to start early. DefaultDependencies should be "no" for things needed to mount an NFS filesystem, and filesystems are mounted before basic.target. To ensure these services are shut down in a timely fashion, they must Conflict with systemd.umount so they are shutdown when everything is unmounted. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/var-lib-nfs-rpc_pipefs.mount')
-rw-r--r--systemd/var-lib-nfs-rpc_pipefs.mount1
1 files changed, 1 insertions, 0 deletions
diff --git a/systemd/var-lib-nfs-rpc_pipefs.mount b/systemd/var-lib-nfs-rpc_pipefs.mount
index cd614cf..33c5db6 100644
--- a/systemd/var-lib-nfs-rpc_pipefs.mount
+++ b/systemd/var-lib-nfs-rpc_pipefs.mount
@@ -1,6 +1,7 @@
[Unit]
Description=RPC Pipe File System
DefaultDependencies=no
+Conflicts=umount.target
[Mount]
What=sunrpc