fix: matrix

This commit is contained in:
2026-05-25 23:12:05 +00:00
parent 4ce1945abe
commit 92f55320b5
4 changed files with 16 additions and 7 deletions

View File

@@ -494,6 +494,10 @@ ${lib.concatStringsSep "\n" (map mkUserRegistration matrixUsers)}
})
(lib.mkIf (cfg.role == "standby") {
systemd.targets.postgresql.requires = lib.mkForce [
"postgresql.service"
];
# Hot-standby bootstrap: standby.signal + primary_conninfo with passfile.
# pg_basebackup must be run manually (see runbook) before this activates
# for the first time.