cluster/services/ways: serialize acme cert updates
This commit is contained in:
parent
c358714cbe
commit
b8067c6a33
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ in
|
||||||
};
|
};
|
||||||
}) externalWays;
|
}) externalWays;
|
||||||
|
|
||||||
|
systemd.services = lib.mapAttrs' (name: cfg: {
|
||||||
|
name = "acme-${name}.${cfg.domainSuffix}";
|
||||||
|
value.distributed.enable = true;
|
||||||
|
}) externalWays;
|
||||||
|
|
||||||
services.consul-template.instances.ways = lib.mkIf (consulServiceWays != {}) {
|
services.consul-template.instances.ways = lib.mkIf (consulServiceWays != {}) {
|
||||||
user = "nginx";
|
user = "nginx";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
|
|
Loading…
Reference in a new issue