* Remove `stopOn = "shutdown"' which doesn't work.

svn path=/nixos/trunk/; revision=22101
This commit is contained in:
Eelco Dolstra 2010-06-02 16:05:09 +00:00
parent 8519e72ccc
commit d317d83ba8
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ in
environment.blcr.enable = mkOption {
default = false;
description =
"Wheter to enable support for the BLCR checkpoingint tool.";
"Wheter to enable support for the BLCR checkpointing tool.";
};
environment.blcr.autorun = mkOption {
@ -44,7 +44,6 @@ in
task = true;
startOn = if cfg.autorun then "started udev" else null;
stopOn = "shutdown";
preStart = ''
${insmod} ${blcr_imports_ko}

View file

@ -27,6 +27,7 @@ in
};
config = mkIf config.services.monit.enable {
environment.etc = [
{
source = pkgs.writeTextFile {
@ -37,11 +38,11 @@ in
mode = "0400";
}
];
jobs.monit = {
description = "Monit system watcher";
startOn = config.services.monit.startOn;
stopOn = "shutdown";
exec = "${pkgs.monit}/bin/monit -I -c /etc/monit.conf";