Skip to content

Commit ba456c8

Browse files
committed
- fixed config usage
1 parent fd80a49 commit ba456c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sanitizer/src/start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ backup_roles_file=${backup_file}_roles.out
2323
echo "starting postgres..."
2424
rm -rf "${PGDATA}"
2525

26-
cat > /var/lib/postgresql/data/postgresql.conf <<EOL
26+
cat > /etc/postgresql/postgresql.conf <<EOL
2727
listen_addresses = '*'
2828
max_connections = 100
2929
shared_buffers = 128MB
@@ -46,7 +46,7 @@ autovacuum = off
4646
wal_buffers = 16MB
4747
EOL
4848

49-
/usr/local/bin/docker-entrypoint.sh postgres &
49+
/usr/local/bin/docker-entrypoint.sh postgres -c 'config_file=/etc/postgresql/postgresql.conf' &
5050

5151
until pg_isready -U postgres -h 0.0.0.0 -p 5432 ; do echo "waiting for postgres to start" && sleep 5 ; done
5252

0 commit comments

Comments
 (0)