cluster/services/ways: serialize acme cert updates

This commit is contained in:
Max Headroom 2024-07-04 19:57:05 +02:00
parent c358714cbe
commit b8067c6a33

View file

@ -54,6 +54,11 @@ in
};
}) 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 != {}) {
user = "nginx";
group = "nginx";