lol

nixos/matrix-appservice-irc: wait for postgres to start

Closes: #178692

+3
+3
nixos/modules/services/matrix/appservice-irc.nix
··· 153 153 systemd.services.matrix-appservice-irc = { 154 154 description = "Matrix-IRC bridge"; 155 155 before = [ "matrix-synapse.service" ]; # So the registration can be used by Synapse 156 + after = lib.optionals (cfg.settings.database.engine == "postgres") [ 157 + "postgresql.service" 158 + ]; 156 159 wantedBy = [ "multi-user.target" ]; 157 160 158 161 preStart = ''