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