* There is no "samba-control" job.

svn path=/nixos/trunk/; revision=22509
This commit is contained in:
Eelco Dolstra 2010-07-07 12:32:56 +00:00
parent 9ac60a3aa3
commit 6856c60ba3
1 changed files with 6 additions and 7 deletions

View File

@ -64,7 +64,7 @@ let
description = "Samba Service daemon ${appName}"; description = "Samba Service daemon ${appName}";
startOn = "started samba"; startOn = "started samba";
stopOn = "stopping samba-control"; stopOn = "stopping samba";
exec = "${samba}/sbin/${appName} ${args}"; exec = "${samba}/sbin/${appName} ${args}";
}; };
@ -84,9 +84,8 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
description = " description = "
Whether to enable the samba server. (to communicate with, and provide windows shares) Whether to enable Samba, which provides file and print
use start / stop samba-control to start/stop all daemons. services to Windows clients through the SMB/CIFS protocol.
smbd and nmbd are not shutdown correctly yet. so just pkill them and restart those jobs.
"; ";
}; };
@ -146,15 +145,15 @@ in
defaultShare = { defaultShare = {
enable = mkOption { enable = mkOption {
description = "Whether to share /home/smbd as 'default'"; description = "Whether to share /home/smbd as 'default'.";
default = false; default = false;
}; };
writeable = mkOption { writeable = mkOption {
description = "Whether to allow write access to default share"; description = "Whether to allow write access to default share.";
default = false; default = false;
}; };
guest = mkOption { guest = mkOption {
description = "Whether to allow guest access to default share"; description = "Whether to allow guest access to default share.";
default = true; default = true;
}; };
}; };