permissions pt3

This commit is contained in:
c0repwn3r 2023-02-07 13:44:33 -05:00
parent 37033e240a
commit 3e245baf3b
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ sources:
- https://git.e3t.cc/~core/trifid - https://git.e3t.cc/~core/trifid
tasks: tasks:
- setup: | - setup: |
sudo mkdir /run/postgresql
sudo chown postgres:postgres /run/postgresql
sudo -u postgres mkdir /var/lib/postgresql/data sudo -u postgres mkdir /var/lib/postgresql/data
sudo -u postgres chmod 0700 /var/lib/postgresql/data sudo -u postgres chmod 0700 /var/lib/postgresql/data
sudo -u postgres initdb -D /var/lib/postgresql/data sudo -u postgres initdb -D /var/lib/postgresql/data