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

Closes: #178692
main
Martin Weinelt 2 years ago
parent 419a091fda
commit 6c1f44b3f1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 3
      nixos/modules/services/matrix/appservice-irc.nix

@ -153,6 +153,9 @@ in {
systemd.services.matrix-appservice-irc = {
description = "Matrix-IRC bridge";
before = [ "matrix-synapse.service" ]; # So the registration can be used by Synapse
after = lib.optionals (cfg.settings.database.engine == "postgres") [
"postgresql.service"
];
wantedBy = [ "multi-user.target" ];
preStart = ''

Loading…
Cancel
Save