diff options
| -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 fc2db4e0..b6527a1f 100644 --- a/custom/lvm-snapshots.nix +++ b/custom/lvm-snapshots.nix | |||
| @@ -75,7 +75,7 @@ in { | |||
| 75 | serviceConfig = with pkgs; { | 75 | serviceConfig = with pkgs; { |
| 76 | Type = "oneshot"; | 76 | Type = "oneshot"; |
| 77 | ExecStart = "${devicemapper}/bin/lvcreate -s ${scfg.cowSize} --name ${snapshotName name} ${scfg.VG}/${scfg.LV}"; | 77 | ExecStart = "${devicemapper}/bin/lvcreate -s ${scfg.cowSize} --name ${snapshotName name} ${scfg.VG}/${scfg.LV}"; |
| 78 | ExecStopPre = "${devicemapper}/bin/lvchange -a n ${scfg.VG}/${snapshotName name}" | 78 | ExecStopPre = "${devicemapper}/bin/lvchange -a n ${scfg.VG}/${snapshotName name}"; |
| 79 | ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${snapshotName name}"; | 79 | ExecStop = "${devicemapper}/bin/lvremove ${scfg.VG}/${snapshotName name}"; |
| 80 | RemainAfterExit = true; | 80 | RemainAfterExit = true; |
| 81 | }; | 81 | }; |
