nixos/growpart: ensure correct ordering w.r.t. shutdown.target
This commit is contained in:
parent
5ab8a128de
commit
e4136ed6dd
@ -25,7 +25,7 @@ with lib;
|
||||
systemd.services.growpart = {
|
||||
wantedBy = [ "-.mount" ];
|
||||
after = [ "-.mount" ];
|
||||
before = [ "systemd-growfs-root.service" ];
|
||||
before = [ "systemd-growfs-root.service" "shutdown.target" ];
|
||||
conflicts = [ "shutdown.target" ];
|
||||
unitConfig.DefaultDependencies = false;
|
||||
serviceConfig = {
|
||||
|
Loading…
Reference in New Issue
Block a user