Run pixelfed-data-setup only after ensure-garage

This commit is contained in:
Nicolas Jeannerod 2024-09-05 15:33:47 +02:00
parent 10a38cdf6d
commit 553a03b971
Signed by: Niols
GPG key ID: 35DB9EC8886E1CB8

View file

@ -47,4 +47,10 @@ in
AWS_ENDPOINT = "http://s3.garage.localhost:3900";
AWS_USE_PATH_STYLE_ENDPOINT = false;
};
## Only ever run `pixelfed-data-setup` after `ensure-garage` has done its job.
## Otherwise, everything crashed dramatically.
systemd.services.pixelfed-data-setup = {
after = [ "ensure-garage.service" ];
};
}