Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6de328

Browse files
authored
Update pg_receivewal@.service
1 parent 6d528cb commit b6de328

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pg_receivewal/pg_receivewal@.service‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ExecStartPre=mkdir -p /mnt/backup_db/archive_wal
1919
ExecStartPre=rm -f /mnt/backup_db/archive_wal/*.partial
2020

2121
# создаём слот, если его ещё не было (select * from pg_replication_slots;)
22-
ExecStartPre=/usr/pgsql-%i/bin/pg_receivewal --verbose --user=bkp_replicator --slot=pg_receivewal --create-slot --if-not-exists
22+
ExecStartPre=/usr/pgsql-%i/bin/pg_receivewal --user=bkp_replicator --no-password --slot=pg_receivewal --create-slot --if-not-exists
2323

2424
# архивируем WAL файлы в реальном времени, появится ещё одна асинхронная реплика, которая никогда не догонит мастер (select * from pg_stat_replication;)
2525
ExecStart=/usr/pgsql-%i/bin/pg_receivewal --user=bkp_replicator --no-password --slot=pg_receivewal --directory=/mnt/backup_db/archive_wal --synchronous --compress=9

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /