Fixing nfsd service, wait on local-fs.

Otherwise, mountd was started exporting directories before local-fs was ready,
and it failed to start nfsd on missing fs.
This commit is contained in:
Lluís Batlle i Rossell 2016-05-03 16:44:22 +02:00
parent 1a5b5593d6
commit 9f6afb7d78

View File

@ -126,7 +126,7 @@ in
{ description = "NFSv3 Mount Daemon"; { description = "NFSv3 Mount Daemon";
requires = [ "rpcbind.service" ]; requires = [ "rpcbind.service" ];
after = [ "rpcbind.service" ]; after = [ "rpcbind.service" "local-fs.target" ];
path = [ pkgs.nfs-utils pkgs.sysvtools pkgs.utillinux ]; path = [ pkgs.nfs-utils pkgs.sysvtools pkgs.utillinux ];