aboutsummaryrefslogtreecommitdiffstats
path: root/community/repmgr/repmgr.conf.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2019-12-26 19:45:32 +0100
committerJakub Jirutka <jakub@jirutka.cz>2019-12-26 19:47:33 +0100
commita07f283777abd20f1f4396e94008d0ae7971bb8c (patch)
tree5d2417a622d55e4d0a405e873b6d205b86ac48d2 /community/repmgr/repmgr.conf.patch
parent1e51666f62b135f23971736407ded5e73d206c96 (diff)
community/repmgr: upgrade to 5.0.0
Diffstat (limited to 'community/repmgr/repmgr.conf.patch')
-rw-r--r--community/repmgr/repmgr.conf.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/repmgr/repmgr.conf.patch b/community/repmgr/repmgr.conf.patch
index dda30bf9dc8..4922ff6e53a 100644
--- a/community/repmgr/repmgr.conf.patch
+++ b/community/repmgr/repmgr.conf.patch
@@ -1,6 +1,6 @@
--- a/repmgr.conf.sample
+++ b/repmgr.conf.sample
-@@ -328,26 +328,24 @@
+@@ -376,27 +376,25 @@
# If you use sudo, the user repmgr runs as (usually 'postgres') must have
# passwordless sudo access to execute the command.
#
@@ -22,14 +22,16 @@
#
# Debian/Ubuntu users: use "sudo pg_ctlcluster" to execute service control commands.
#
- # For more details, see: https://repmgr.org/docs/4.1/configuration-service-commands.html
+ # For more details, see: https://repmgr.org/docs/current/configuration-service-commands.html
-#service_start_command = ''
-#service_stop_command = ''
-#service_restart_command = ''
+-#service_reload_command = ''
+service_start_command = '/etc/init.d/postgresql start'
+service_stop_command = '/etc/init.d/postgresql stop'
+service_restart_command = '/etc/init.d/postgresql restart'
- #service_reload_command = ''
++service_reload_command = '/etc/init.d/postgresql reload'
#service_promote_command = '' # This parameter is intended for systems which provide a
# package-level promote command, such as Debian's
+ # "pg_ctlcluster". *IMPORTANT*: it is *not* a substitute