Add postgresql dep to most stuff that needs it
This commit is contained in:
parent
5aaf1f044d
commit
1168c85ecf
9 changed files with 12 additions and 3 deletions
|
@ -33,7 +33,7 @@ with lib; {
|
|||
{
|
||||
systemd.services.heisenbridge = {
|
||||
description = "Matrix<->IRC bridge";
|
||||
before = [ "matrix-synapse.service" ]; # So the registration file can be used by Synapse
|
||||
requires = [ "matrix-synapse.service" ]; # So the registration file can be used by Synapse
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = rec {
|
||||
|
|
|
@ -114,7 +114,7 @@ in
|
|||
WorkingDirectory = "/var/lib/gotosocial";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "minio.service" ];
|
||||
requires = [ "minio.service" "postgresql.service" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -275,6 +275,7 @@ in
|
|||
systemd.services."${name}" = {
|
||||
after = [ "network.target" "traefik-certs-dumper.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "postgresql.service" ];
|
||||
|
||||
description = "maddy mail server";
|
||||
documentation = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue