Run pixelfed-data-setup only after ensure-garage

This commit is contained in:
Nicolas Jeannerod 2024-09-05 15:33:47 +02:00
parent 60cf77e66e
commit e4d84d7881

View file

@ -47,4 +47,10 @@ in
AWS_ENDPOINT = "http://s3.garage.localhost:3900"; AWS_ENDPOINT = "http://s3.garage.localhost:3900";
AWS_USE_PATH_STYLE_ENDPOINT = false; 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" ];
};
} }