Merge pull request #2 from gciolli/master

Small clarification on sudo-based configuration (#1)
This commit is contained in:
Ian Barwick
2017-09-11 10:23:37 +09:00
committed by GitHub

View File

@@ -242,7 +242,12 @@ ssh_options='-q' # Options to append to "ssh"
# If you use sudo, the user repmgr runs as (usually 'postgres') must have
# passwordless sudo access to execute the command.
#
# For example, to use systemd, you may use the following configuration:
# For example, to use systemd, you can set
#
# service_start_command = 'sudo systemctl start postgresql-9.6'
# (...)
#
# and then use the following sudoers configuration:
#
# # this is required when running sudo over ssh without -t:
# Defaults:postgres !requiretty