From 8b78b7292d63c714d5aec673cc082069e18f0863 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 20 Nov 2017 12:27:06 +0900 Subject: [PATCH] docs: add note about "service_promote_command" in repmgr.conf.sample It must never contain "repmgr standby promote", as it is intended to enable use of package-level promote commands such as Debian's "pg_ctlcluster promote". Addresses GitHub #336. --- repmgr.conf.sample | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/repmgr.conf.sample b/repmgr.conf.sample index 339a8f4e..22a53dc6 100644 --- a/repmgr.conf.sample +++ b/repmgr.conf.sample @@ -275,8 +275,10 @@ ssh_options='-q -o ConnectTimeout=10' # Options to append to "ssh" #service_stop_command = '' #service_restart_command = '' #service_reload_command = '' -#service_promote_command = '' # Note: this overrides any value contained - # in the setting "promote_command" +#service_promote_command = '' # Note: this overrides any value contained in the setting + # "promote_command". This is intended for systems which + # provide a package-level promote command, such as Debian's + # "pg_ctlcluster" #------------------------------------------------------------------------------