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 202b0a0

Browse files
authored
Update README.md
1 parent 1da7df4 commit 202b0a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎pg_receivewal/README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
**Инсталляция сервиса**
3030
```bash
3131
# создаём файлы
32-
sudo su - postgres -c "nano ~/.pgpass && chmod 600 ~/.pgpass" # в файле нужно сохранить пароль для пользователя bkp_replicator
33-
sudo nano /etc/systemd/system/pg_receivewal@.service
32+
sudo su - postgres -c "nano -c ~/.pgpass && chmod 600 ~/.pgpass" # в файле нужно сохранить пароль для пользователя bkp_replicator
33+
sudo nano -c /etc/systemd/system/pg_receivewal@.service
3434

3535
# PostgreSQL v14
3636
sudo systemctl daemon-reload \
@@ -49,7 +49,7 @@ sudo systemctl status pg_receivewal@16
4949
**Интеграция с Patroni**
5050
```bash
5151
# разрешаем перезапускать сервис под пользователем postgres без пароля
52-
sudo nano /etc/sudoers.d/permit_pgreceivewal
52+
sudo nano -c /etc/sudoers.d/permit_pgreceivewal
5353
sudo su postgres -c "sudo /bin/systemctl restart pg_receivewal@14" # тестируем перезапуск
5454

5555
# редактируем конфигурацию Patroni

0 commit comments

Comments
(0)

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