Fix systemd after
for rollback
This commit is contained in:
parent
efeb877394
commit
f02308a40e
|
@ -24,7 +24,7 @@
|
||||||
boot.initrd.systemd.services.rollback = {
|
boot.initrd.systemd.services.rollback = {
|
||||||
description = "Rollback BTRFS root subvolume to a pristine state";
|
description = "Rollback BTRFS root subvolume to a pristine state";
|
||||||
wantedBy = [ "initrd.target" ];
|
wantedBy = [ "initrd.target" ];
|
||||||
after = [ "systemd-cryptsetup@enc.service" ];
|
after = [ "systemd-cryptsetup@crypted.service" ];
|
||||||
before = [ "sysroot.mount" ];
|
before = [ "sysroot.mount" ];
|
||||||
unitConfig.DefaultDependencies = "no";
|
unitConfig.DefaultDependencies = "no";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
|
|
Loading…
Reference in a new issue