cluster/services/consul: define readiness target

This commit is contained in:
Max Headroom 2024-08-22 23:28:02 +02:00
parent 0b3196b2b9
commit 93a285eba2

View file

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