summary refs log tree commit diff
path: root/nixos/modules/services/network-filesystems
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@viric.name>2016-05-03 16:44:22 +0200
committerLluís Batlle i Rossell <viric@viric.name>2016-05-06 15:03:30 +0200
commit9f6afb7d78771f283b84d4dbdc5c5a08291a738c (patch)
tree9875793069cb9191da303f3667cf9cfb6c26a72c /nixos/modules/services/network-filesystems
parent1a5b5593d62e011679a8c1c66095a9faa38647dc (diff)
downloadnixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.gz
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.bz2
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.lz
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.xz
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.tar.zst
nixlib-9f6afb7d78771f283b84d4dbdc5c5a08291a738c.zip
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.
Diffstat (limited to 'nixos/modules/services/network-filesystems')
-rw-r--r--nixos/modules/services/network-filesystems/nfsd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/nfsd.nix b/nixos/modules/services/network-filesystems/nfsd.nix
index f1838224098b..ddc7258ce0b4 100644
--- a/nixos/modules/services/network-filesystems/nfsd.nix
+++ b/nixos/modules/services/network-filesystems/nfsd.nix
@@ -126,7 +126,7 @@ in
       { description = "NFSv3 Mount Daemon";
 
         requires = [ "rpcbind.service" ];
-        after = [ "rpcbind.service" ];
+        after = [ "rpcbind.service" "local-fs.target" ];
 
         path = [ pkgs.nfs-utils pkgs.sysvtools pkgs.utillinux ];