modules/ascensions: always wantedBy multi-user.target

This commit is contained in:
Max Headroom 2023-09-07 10:11:25 +02:00
parent 8814c21e3f
commit 5d4c4a09fc

View file

@ -85,6 +85,7 @@ in
targetLevel = toString (length incantations); targetLevel = toString (length incantations);
in { in {
description = "Ascension for ${name}"; description = "Ascension for ${name}";
wantedBy = [ "multi-user.target" ];
inherit (asc) requiredBy before; inherit (asc) requiredBy before;
after = asc.after ++ (lib.optional asc.distributed "consul.service"); after = asc.after ++ (lib.optional asc.distributed "consul.service");
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";