From ed3148f8d031e54a1880cc1ba9193de5f50e560d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 26 Sep 2018 14:09:56 +0200 Subject: ... --- custom/borgbackup.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/borgbackup.nix b/custom/borgbackup.nix index dabf4200..c67287a4 100644 --- a/custom/borgbackup.nix +++ b/custom/borgbackup.nix @@ -172,7 +172,7 @@ in { Type = "oneshot"; WorkingDirectory = if (cfg.snapshots == null) then "%I" else (if (cfg.snapshots == "lvm") then "${mountPoint}/${withPrefix "%I"}" else "${mountPoint}/${withPrefix "%i"}"); SuccessExitStatus = [1 2]; - Slice = "system-borgbackup"; + Slice = "system-borgbackup.slice"; }; })) cfg.targets) // (mapAttrs' (target: tCfg: nameValuePair "borgbackup-prune-${target}" { enable = tCfg.prune != {}; @@ -194,7 +194,7 @@ in { serviceConfig = { Type = "oneshot"; - Slice = "system-borgbackup"; + Slice = "system-borgbackup.slice"; }; }) cfg.targets); }; -- cgit v1.2.3