1
Fork 0

Fix systemd after for rollback

This commit is contained in:
prescientmoon 2024-08-28 01:05:39 +02:00
parent efeb877394
commit f02308a40e
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U

View file

@ -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";