Making fcron use the daemonType=fork, instead of foreground. This way logrotate

does not have to handle it appart.


svn path=/nixos/trunk/; revision=34422
This commit is contained in:
Lluís Batlle i Rossell 2012-06-10 15:14:16 +00:00
parent 6824f1e082
commit 3d2ed19067

View File

@ -101,7 +101,7 @@ in
jobs.fcron =
{ description = "fcron daemon";
startOn = "startup";
startOn = "startup and filesystem";
environment =
{ PATH = "/var/run/current-system/sw/bin";
@ -114,7 +114,9 @@ in
${pkgs.fcron}/bin/fcrontab -u systab ${pkgs.writeText "systab" cfg.systab}
'';
exec = "${pkgs.fcron}/sbin/fcron -f -m ${toString cfg.maxSerialJobs} ${queuelen}";
daemonType = "fork";
exec = "${pkgs.fcron}/sbin/fcron -m ${toString cfg.maxSerialJobs} ${queuelen}";
};
};