From 92cd8c30b58fea8c17b6ed513c5e45514e0cfcb9 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 26 Jul 2021 09:47:14 +0900 Subject: [PATCH] doc: link to service commands section from switchover docs --- doc/switchover.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/switchover.xml b/doc/switchover.xml index 02c74a33..ecb59b84 100644 --- a/doc/switchover.xml +++ b/doc/switchover.xml @@ -120,16 +120,19 @@ - + On systemd systems we strongly recommend using the appropriate systemctl commands (typically run via sudo) to ensure systemd is informed about the status of the PostgreSQL service. - - + + If using sudo for the systemctl calls, make sure the sudo specification doesn't require a real tty for the user. If not set this way, repmgr will fail to stop the primary. - + + + See the documentation section for further details. +