From d72b85f52945bc057a3d598f51eddb55837fd465 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 9 Apr 2018 12:32:59 +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(-) diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index e1e6fa41..74b33570 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix @@ -85,8 +85,8 @@ in { StopWhenUnneeded = !scfg.persist; }; - bindsTo = [ ("lvm-snapshot@" + name) ]; - after = [ ("lvm-snapshot@" + name) ]; + bindsTo = [ ("lvm-snapshot@" + name + ".service") ]; + after = [ ("lvm-snapshot@" + name + ".service") ]; options = mkIf scfg.readOnly "ro"; -- cgit v1.2.3