Add more information to the setting up sudo without requiretty in

the documentation

Signed-off-by: Martín Marqués <martin.marques@2ndquadrant.com>
This commit is contained in:
Martín Marqués
2017-12-14 14:39:22 -03:00
committed by Ian Barwick
parent 8506607388
commit 9d25544ab5

View File

@@ -73,6 +73,11 @@
<command>systemctl</command> commands (typically run via <command>sudo</command>) to ensure
<literal>systemd</literal> informed about the status of the PostgreSQL service.
</simpara>
<simpara>
If using <command>sudo</command> for the <command>systemctl</command> calls, make sure the
<command>sudo</command> specification doesn't require a real tty for the user. If not set
this way, <command>repmgr</command> will fail to stop the primary.
</simpara>
</note>
<para>
Check that access from applications is minimalized or preferably blocked