various improvements and bugfixes in the init script

This commit is contained in:
Christian Kruse
2014-03-06 15:23:22 +01:00
parent 8429b43edf
commit fed5c77653
2 changed files with 80 additions and 33 deletions

View File

@@ -1,4 +1,3 @@
#!/bin/sh
# default settings for repmgrd. This file is source by /bin/sh from
# /etc/init.d/repmgrd
@@ -6,13 +5,14 @@
# valid values: yes/no
REPMGRD_ENABLED=no
# Options for repmgrd
REPMGRD_OPTS=""
# Options for repmgrd (required)
#REPMGRD_OPTS="--config_file /path/to/repmgr.conf"
# User to run repmgrd as
#REPMGRD_USER=postgres
# repmgrd binary
REPMGR_BIN="/usr/bin/repmgr"
#REPMGR_BIN=/usr/bin/repmgr
# pid file
REPMGR_PIDFILE="/var/run/repmgrd.pid"
#REPMGR_PIDFILE=/var/run/repmgrd.pid