8 lines
314 B
Bash
Executable File
8 lines
314 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# wal-e specific configuration
|
|
echo "wal_level = $WAL_LEVEL" >> $PGDATA/postgresql.conf
|
|
echo "archive_mode = $ARCHIVE_MODE" >> $PGDATA/postgresql.conf
|
|
echo "archive_command = '/usr/bin/wal-e wal-push %p'" >> $PGDATA/postgresql.conf
|
|
echo "archive_timeout = $ARCHIVE_TIMEOUT" >> $PGDATA/postgresql.conf
|