specify postgres lockfile for reproducability

main
Rachel Lambda Samuelsson 2023-08-08 17:44:03 +02:00
parent 751988225b
commit 6cbc11c672
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
}
log "Starting postgres"
pg_ctl start --pgdata=./matabas-db --log=./matabas-db/matabas.log --options="-p 2137"
pg_ctl start --pgdata=./matabas-db --log=./matabas-db/matabas.log --options="-p 2137 -k /tmp"
trap 'log "Stopping postgres" && pg_ctl stop --pgdata=./matabas-db' EXIT
log "Creating database"