specify postgres lockfile for reproducability

This commit is contained in:
Rachel Lambda Samuelsson 2023-08-08 17:44:03 +02:00
parent 751988225b
commit 6cbc11c672

View File

@ -37,7 +37,7 @@
} }
log "Starting postgres" 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 trap 'log "Stopping postgres" && pg_ctl stop --pgdata=./matabas-db' EXIT
log "Creating database" log "Creating database"