diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2015-03-19 11:33:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2015-03-19 11:44:16 -0400 |
commit | 997148c3d87d4a59a0e542c4fbe77fefc6489e56 (patch) | |
tree | f2d3c3b546a9994af4739ff466179dd8942e76e6 /systemd/nfs-idmapd.service | |
parent | 1e41488f428cd36b200b48b84d31446e38dfdc50 (diff) | |
download | nfs-utils-997148c3d87d4a59a0e542c4fbe77fefc6489e56.tar.gz |
systemd: Relax dependencies of services
Stop depending on basic.target in the daemons which still do;
i. e. add DefaultDependencies=no. This makes it possible to
run NFS during early boot, and helps if you e. g. have /var
on NFS. We don't require much else than local-fs.
Acked-by: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'systemd/nfs-idmapd.service')
-rw-r--r-- | systemd/nfs-idmapd.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/systemd/nfs-idmapd.service b/systemd/nfs-idmapd.service index e84f8c8..df3dd9d 100644 --- a/systemd/nfs-idmapd.service +++ b/systemd/nfs-idmapd.service @@ -1,7 +1,8 @@ [Unit] Description=NFSv4 ID-name mapping service +DefaultDependencies=no Requires=var-lib-nfs-rpc_pipefs.mount -After=var-lib-nfs-rpc_pipefs.mount +After=var-lib-nfs-rpc_pipefs.mount local-fs.target BindsTo=nfs-server.service |