hydra-module.nix: Use startAt

This commit is contained in:
Eelco Dolstra 2013-11-06 17:29:22 +01:00
parent d710c1e443
commit 2614fe21fb

View file

@ -246,6 +246,7 @@ in
{ ExecStart = "@${cfg.package}/bin/hydra-update-gc-roots hydra-update-gc-roots";
User = "hydra";
};
startAt = "02:15";
};
services.cron.systemCronJobs =
@ -272,7 +273,6 @@ in
in
[ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log"
"15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"
"15 2 * * * root ${pkgs.systemd}/bin/systemctl start hydra-update-gc-roots.service"
];
};
}