permissions pt3
This commit is contained in:
parent
37033e240a
commit
3e245baf3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue