From fd586475a8fec79f2a2a1efee0162ab95f3792d0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 01:16:36 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hel.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hel.nix b/hel.nix index 2a017489..1022e613 100644 --- a/hel.nix +++ b/hel.nix @@ -528,12 +528,9 @@ path = with pkgs; [borgbackup]; script = '' - pwd - borg create \ --stats \ --list \ - --filter 'AME' \ --exclude-caches \ --keep-exclude-tags \ --patterns-from .backup \ @@ -547,6 +544,10 @@ serviceConfig = { Type = "oneshot"; WorkingDirectory = "/mnt/snapshot-%i"; + Nice = 15; + IOSchedulingClass = 2; + IOSchedulingPriority = 7; + SuccessExitStatus = [1 2]; }; }; } -- cgit v1.2.3