cluster/services/consul: define readiness target

This commit is contained in:
Max Headroom 2024-08-22 23:28:02 +02:00 committed by Max Headroom
parent 1db4170226
commit fe50d53c91

View file

@ -51,4 +51,9 @@ in
Type = "oneshot"; Type = "oneshot";
}; };
}; };
systemd.targets.consul-ready = {
description = "Consul is Ready";
requires = [ "consul-ready.service" ] ++ lib.optional config.services.consul.enable "consul-load-smt.service";
};
} }