diff options
author | NeilBrown <neilb@suse.de> | 2014-02-13 13:52:42 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-03-24 16:30:04 -0400 |
commit | d5bd709307a05e14b7a2441b7576b68db85237c1 (patch) | |
tree | 7ea5a46a0241f63f458f9af95a597b38d49f6071 /systemd/nfs-server.service | |
parent | c0512981b7e10487378e5c6fec5d7d72dd4f7e1a (diff) | |
download | nfs-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/nfs-server.service')
-rw-r--r-- | systemd/nfs-server.service | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/systemd/nfs-server.service b/systemd/nfs-server.service index 9812866..dfe8dfa 100644 --- a/systemd/nfs-server.service +++ b/systemd/nfs-server.service @@ -1,6 +1,5 @@ [Unit] -Description=NFS server -DefaultDependencies=no +Description=NFS server and services Requires= network.target proc-fs-nfsd.mount rpcbind.target PartOf=nfs-server.target |