diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/lvm-snapshots.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/lvm-snapshots.nix b/custom/lvm-snapshots.nix index 67ee2cbd..21690bb5 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
@@ -70,7 +70,7 @@ in { | |||
70 | 70 | ||
71 | serviceConfig = with pkgs; { | 71 | serviceConfig = with pkgs; { |
72 | Type = "oneshot"; | 72 | Type = "oneshot"; |
73 | ExecStart = "${devicemapper}/bin/lvcreate -s ${cfg.cowSize} --name ${name} ${scfg.VG}/${scfg.LV}"; | 73 | ExecStart = "${devicemapper}/bin/lvcreate -s ${scfg.cowSize} --name ${name} ${scfg.VG}/${scfg.LV}"; |
74 | ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${name}"; | 74 | ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${name}"; |
75 | RemainAfterExit = true; | 75 | RemainAfterExit = true; |
76 | }; | 76 | }; |