permissions
This commit is contained in:
parent
cc4813afd6
commit
1788e7094e
|
@ -8,10 +8,10 @@ sources:
|
|||
- https://git.e3t.cc/~core/trifid
|
||||
tasks:
|
||||
- setup: |
|
||||
su postgres -c mkdir /var/lib/postgresql/data
|
||||
su postgres -c chmod 0700 /var/lib/postgresql/data
|
||||
su postgres -c initdb -D /var/lib/postgresql/data
|
||||
su postgres -c pg_ctl start -D /var/lib/postgresql/data
|
||||
su root -c "su postgres -c mkdir /var/lib/postgresql/data"
|
||||
su root -c "su postgres -c chmod 0700 /var/lib/postgresql/data"
|
||||
su root -c "su postgres -c initdb -D /var/lib/postgresql/data"
|
||||
su root -c "su postgres -c pg_ctl start -D /var/lib/postgresql/data"
|
||||
cd /home/build/trifid
|
||||
cargo install sqlx-cli
|
||||
sqlx database create
|
||||
|
|
Loading…
Reference in New Issue