From 3c1c469db167dfa15e55f08f0953e21932c1236c Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 17 Jul 2023 14:14:07 -0700 Subject: [PATCH] Ensure postgres directory exists --- lemmy-docker.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lemmy-docker.nix b/lemmy-docker.nix index 82fa754..e650b21 100644 --- a/lemmy-docker.nix +++ b/lemmy-docker.nix @@ -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 = {