From f881ff7ba6a6d72638f3e2b59fab3f3e52d0e84f Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 10 Aug 2022 01:18:03 +0200 Subject: [PATCH] cluster/services/patroni: make HAProxy provide postgresql.service via alias --- cluster/services/patroni/haproxy.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/services/patroni/haproxy.nix b/cluster/services/patroni/haproxy.nix index 6a4e7b8..e6883c2 100644 --- a/cluster/services/patroni/haproxy.nix +++ b/cluster/services/patroni/haproxy.nix @@ -38,4 +38,5 @@ in ${builtins.concatStringsSep " \n" (map mkServerString nodes)} ''; }; + systemd.services.haproxy.aliases = [ "postgresql.service" ]; }