From 3e794ecc28744ec784f4bb68f9516a7a6a317de9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Dec 2017 14:34:27 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index 9c353ba4..005c6e76 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -118,8 +118,8 @@ in { SuccessExitStatus = [1 2]; }; })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { - bindsTo = "network-online.target"; - after = "network-online.target"; + bindsTo = ["network-online.target"]; + after = ["network-online.target"]; script = concatStringsSep "\n" (mapAttrsToList (path: args: '' borg prune \ -- cgit v1.2.3