From 3e245baf3be7f64e7394593224627ec281620f80 Mon Sep 17 00:00:00 2001 From: c0repwn3r Date: Tue, 7 Feb 2023 13:44:33 -0500 Subject: [PATCH] permissions pt3 --- .build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.build.yml b/.build.yml index 6582973..f5ce75b 100644 --- a/.build.yml +++ b/.build.yml @@ -9,6 +9,8 @@ sources: - https://git.e3t.cc/~core/trifid tasks: - setup: | + sudo mkdir /run/postgresql + sudo chown postgres:postgres /run/postgresql sudo -u postgres mkdir /var/lib/postgresql/data sudo -u postgres chmod 0700 /var/lib/postgresql/data sudo -u postgres initdb -D /var/lib/postgresql/data