From 7a3a236c29f6cfd62d962a115a49b934740f1db5 Mon Sep 17 00:00:00 2001 From: Ciapa Date: Sun, 7 May 2023 11:17:39 +0000 Subject: [PATCH] Improve cache access --- deployments/mirror/rclone_mount.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployments/mirror/rclone_mount.nix b/deployments/mirror/rclone_mount.nix index 71a5ac0..42af17f 100644 --- a/deployments/mirror/rclone_mount.nix +++ b/deployments/mirror/rclone_mount.nix @@ -8,7 +8,7 @@ Type = "notify"; KillMode = "none"; User = "root"; - ExecStart = "${pkgs.rclone}/bin/rclone mount master:/mnt/data /var/www/mirror --allow-other --dir-cache-time=5m --log-level INFO --umask 002 --cache-dir /mnt/cache --vfs-cache-mode full --vfs-cache-max-age 168h0m0s --vfs-cache-max-size 80Gi"; + ExecStart = "${pkgs.rclone}/bin/rclone mount master:/mnt/data /var/www/mirror --allow-other --dir-cache-time=5m --log-level INFO --umask 002 --cache-dir /mnt/cache --vfs-cache-mode full --vfs-cache-max-age 168h0m0s --vfs-cache-max-size 80Gi --vfs-fast-fingerprint"; ExecStop = "/run/wrappers/bin/fusermount -uz /var/www/mirror"; Restart = "on-failure"; Environment = [ "PATH=/run/wrappers/bin/:$PATH" ];