From 3b93c4721cba35971741cb018de1283d7b30fb3d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 12 Nov 2014 13:47:55 +0100 Subject: [PATCH] hydra-module.nix: Remove log compression which is a local policy --- hydra-module.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index 86413857..1e2ad1f7 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -275,16 +275,8 @@ in systemctl stop hydra-evaluator fi ''; - - compressLogs = pkgs.writeScript "compress-logs" '' - #! ${pkgs.stdenv.shell} -e - find /nix/var/log/nix/drvs \ - -type f -a ! -newermt 'last month' \ - -name '*.drv' -exec bzip2 -v {} + - ''; in [ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log" - "15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log" ]; }; }