cluster/services/consul: define readiness target
This commit is contained in:
parent
1db4170226
commit
fe50d53c91
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue