forked from lix-project/hydra
hydra-module.nix: Use startAt
This commit is contained in:
parent
d710c1e443
commit
2614fe21fb
1 changed files with 1 additions and 1 deletions
|
@ -246,6 +246,7 @@ in
|
||||||
{ ExecStart = "@${cfg.package}/bin/hydra-update-gc-roots hydra-update-gc-roots";
|
{ ExecStart = "@${cfg.package}/bin/hydra-update-gc-roots hydra-update-gc-roots";
|
||||||
User = "hydra";
|
User = "hydra";
|
||||||
};
|
};
|
||||||
|
startAt = "02:15";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cron.systemCronJobs =
|
services.cron.systemCronJobs =
|
||||||
|
@ -272,7 +273,6 @@ in
|
||||||
in
|
in
|
||||||
[ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log"
|
[ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log"
|
||||||
"15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"
|
"15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"
|
||||||
"15 2 * * * root ${pkgs.systemd}/bin/systemctl start hydra-update-gc-roots.service"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue