Ensure postgres directory exists

This commit is contained in:
niten 2023-07-17 14:14:07 -07:00
parent 69564082de
commit 3c1c469db1
1 changed files with 4 additions and 2 deletions

View File

@ -291,8 +291,10 @@ in {
group = "lemmy-pictrs";
};
systemd.tmpfiles.rules =
[ "d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs - - -" ];
systemd.tmpfiles.rules = [
"d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs root - -"
"d ${cfg.state-directory}/postgres 0700 root root - -"
];
virtualisation = {
arion = {