From 55124b11e02da39ba71d97c8c6d3c0e27d595864 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:38:37 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/borgbackup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 17609098..781f094a 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -66,6 +66,7 @@ in { Persistent = false; OnBootSec = tCfg.interval; OnUnitInactiveSec = tCfg.interval; + Unit = "borgbackup-${target}@${path}.service"; }; }) (flatten (mapAttrsToList (target: tCfg: map (path: { inherit target path tCfg; }) tCfg.paths) cfg.targets)))) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { wantedBy = [ "timers.target" ]; @@ -74,7 +75,6 @@ in { Persistent = false; OnBootSec = tCfg.interval; OnUnitInactiveSec = tCfg.interval; - Unit = "borgbackup-${target}@${path}.service"; }; }) cfg.targets); -- cgit v1.2.3