cluster/services/attic: wait for postgresql

This commit is contained in:
Max Headroom 2023-12-01 23:22:01 +01:00
parent 2a75c2ae02
commit 02ea8d50c7

View file

@ -54,6 +54,7 @@ in
};
systemd.services.atticd = {
after = [ "postgresql.service" ];
environment = {
AWS_SHARED_CREDENTIALS_FILE = config.age.secrets.atticS3Credentials.path;
PGPASSFILE = config.age.secrets.atticDBCredentials.path;