cluster/services/patroni: make HAProxy provide postgresql.service via alias

This commit is contained in:
Max Headroom 2022-08-10 01:18:03 +02:00
parent 187a77b1e8
commit f881ff7ba6

View file

@ -38,4 +38,5 @@ in
${builtins.concatStringsSep " \n" (map mkServerString nodes)} ${builtins.concatStringsSep " \n" (map mkServerString nodes)}
''; '';
}; };
systemd.services.haproxy.aliases = [ "postgresql.service" ];
} }