diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/lvm-snapshots.nix | 4 |
1 files 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 { | |||
85 | StopWhenUnneeded = !scfg.persist; | 85 | StopWhenUnneeded = !scfg.persist; |
86 | }; | 86 | }; |
87 | 87 | ||
88 | bindsTo = [ ("lvm-snapshot@" + name) ]; | 88 | bindsTo = [ ("lvm-snapshot@" + name + ".service") ]; |
89 | after = [ ("lvm-snapshot@" + name) ]; | 89 | after = [ ("lvm-snapshot@" + name + ".service") ]; |
90 | 90 | ||
91 | options = mkIf scfg.readOnly "ro"; | 91 | options = mkIf scfg.readOnly "ro"; |
92 | 92 | ||