From f3b3666c676fdf6de5ac5dcdc65f14fcee5f8c9e Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 12 Jan 2023 15:48:36 +0800 Subject: [PATCH] hosts/plover: update gitea-dump pre-start script --- hosts/plover/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/plover/default.nix b/hosts/plover/default.nix index 53e6f2cd..410d962e 100644 --- a/hosts/plover/default.nix +++ b/hosts/plover/default.nix @@ -534,7 +534,7 @@ in # Disk space is always assumed to be limited so we're really only limited with 2 dumps. systemd.services.gitea-dump.serviceConfig = { ExecStartPre = pkgs.writeShellScript "gitea-dump-limit" '' - find ${config.services.gitea.dump.backupDir} -mtime 14 -maxdepth 1 -type f -delete + ${pkgs.findutils}/bin/find ${config.services.gitea.dump.backupDir} -mtime 14 -maxdepth 1 -type f -delete ''; };