mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 03:34:58 +00:00
* Daemonise mountd/statd.
svn path=/nixos/branches/boot-order/; revision=22198
This commit is contained in:
parent
6e27ce8e8e
commit
94088e9b48
@ -149,7 +149,9 @@ in
|
|||||||
startOn = "starting nfs-kernel-nfsd and started portmap";
|
startOn = "starting nfs-kernel-nfsd and started portmap";
|
||||||
stopOn = "stopped nfs-kernel-nfsd";
|
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 @@ in
|
|||||||
mkdir -p /var/lib/nfs/sm.bak
|
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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user