Author: eelco
Date: 2010-06-09 13:45:51 +0000 (Wed, 09 Jun 2010)
New Revision: 22198

You can view the changes in this commit at:
   https://svn.nixos.org/viewvc/nix?rev=22198&view=rev

Modified:
   nixos/branches/boot-order/modules/services/network-filesystems/nfs-kernel.nix

Log:
* Daemonise mountd/statd.


Changes:

Modified: 
nixos/branches/boot-order/modules/services/network-filesystems/nfs-kernel.nix
===================================================================
--- 
nixos/branches/boot-order/modules/services/network-filesystems/nfs-kernel.nix   
    2010-06-09 13:18:49 UTC (rev 22197)
+++ 
nixos/branches/boot-order/modules/services/network-filesystems/nfs-kernel.nix   
    2010-06-09 13:45:51 UTC (rev 22198)
@@ -149,7 +149,9 @@
             startOn = "starting nfs-kernel-nfsd and started portmap";
             stopOn = "stopped nfs-kernel-nfsd";
 
-            exec = "${pkgs.nfsUtils}/sbin/rpc.mountd -F -f /etc/exports";
+            daemonType = "fork";
+
+            exec = "${pkgs.nfsUtils}/sbin/rpc.mountd -f /etc/exports";
           };
         }
 
@@ -169,7 +171,9 @@
                 mkdir -p /var/lib/nfs/sm.bak
               '';
 
-            exec = "${pkgs.nfsUtils}/sbin/rpc.statd --foreground --no-notify";
+            daemonType = "fork";
+
+            exec = "${pkgs.nfsUtils}/sbin/rpc.statd --no-notify";
           };
         }
       

_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to