diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 12:39:33 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-09 12:39:33 +0200 |
commit | 0a4d21fd755b360314f46ffeb81c1d32dec00c59 (patch) | |
tree | cdbab5cb3a842308ebb88614c0b1de4f3084dab7 | |
parent | 7be5d072680f3ee13b1efea0e004dda7b7d984ff (diff) | |
download | nixos-0a4d21fd755b360314f46ffeb81c1d32dec00c59.tar nixos-0a4d21fd755b360314f46ffeb81c1d32dec00c59.tar.gz nixos-0a4d21fd755b360314f46ffeb81c1d32dec00c59.tar.bz2 nixos-0a4d21fd755b360314f46ffeb81c1d32dec00c59.tar.xz nixos-0a4d21fd755b360314f46ffeb81c1d32dec00c59.zip |
…
-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 | }; |