fix: Make the clean-s3-cache timer actually work
This commit is contained in:
parent
992a5bd8b0
commit
989285330f
1 changed files with 3 additions and 1 deletions
|
@ -50,12 +50,14 @@ in
|
|||
enable = true;
|
||||
description = "Clean up S3 cache";
|
||||
serviceConfig = {
|
||||
ExecStart = "${clean-cache}/bin/clean-s3-cache";
|
||||
ExecStart = "${clean-cache}/bin/clean-s3-cache.py";
|
||||
};
|
||||
};
|
||||
systemd.timers.clean-s3-cache = {
|
||||
enable = true;
|
||||
description = "Clean up S3 cache";
|
||||
requires = [ "clean-s3-cache.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = 300;
|
||||
OnUnitActiveSec = 604800;
|
||||
|
|
Loading…
Reference in a new issue