From 5da7789c6b5dbc4e6b67ebf38ca76c38166703cd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 14:06:46 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 7148934f..b58631c8 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix @@ -98,8 +98,8 @@ in { StopWhenUnneeded = !scfg.persist; }; - bindsTo = [ ("lvm-snapshot@" + snapshotName name + ".service") ]; - after = [ ("lvm-snapshot@" + snapshotName name + ".service") ]; + bindsTo = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; + after = [ ("lvm-snapshot@" + scfg.VG + "-" + snapshotName name + ".service") ]; options = mkIf scfg.readOnly "ro"; -- cgit v1.2.3