cluster/services/patroni: make HAProxy provide postgresql.service via alias
This commit is contained in:
parent
187a77b1e8
commit
f881ff7ba6
1 changed files with 1 additions and 0 deletions
|
@ -38,4 +38,5 @@ in
|
|||
${builtins.concatStringsSep " \n" (map mkServerString nodes)}
|
||||
'';
|
||||
};
|
||||
systemd.services.haproxy.aliases = [ "postgresql.service" ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue