build02/nixpkgs-update: fix nixpkgs-update-delete-old-logs service
This commit is contained in:
parent
9e026e0366
commit
447c09ed4b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ in
|
|||
systemd.services.nixpkgs-update-delete-old-logs = {
|
||||
startAt = "weekly";
|
||||
# delete logs older than 18 months, delete empty directories
|
||||
serviceConfig.script = ''
|
||||
script = ''
|
||||
${pkgs.findutils}/bin/find /var/log/nixpkgs-update -type f -mtime +548 -delete
|
||||
${pkgs.findutils}/bin/find /var/log/nixpkgs-update -type d -empty -delete
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue