From 785f142fdc12c81aad25f393ae0cc8436d41f65c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 14:50:29 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/lvm-snapshots.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/lvm-snapshots.nix') diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index b58631c8..c7f6416e 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix @@ -71,7 +71,7 @@ in { description = "LVM-snapshot of ${scfg.VG}/${scfg.LV}"; unitConfig = { - StopWhenUnneeded = true; + StopWhenUnneeded = !scfg.persist; }; path = with pkgs; [ devicemapper ]; -- cgit v1.2.3