mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
debian init script and config file documentation fixes
This commit is contained in:
committed by
Jaime Casanova
parent
07c54c296c
commit
48da11acfd
@@ -890,7 +890,7 @@ The output from this program looks like this::
|
||||
|
||||
Configuration options:
|
||||
-D, --data-dir=DIR local directory where the files will be copied to
|
||||
-f, --config_file=PATH path to the configuration file
|
||||
-f, --config-file=PATH path to the configuration file
|
||||
-R, --remote-user=USERNAME database server username for rsync
|
||||
-w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000)
|
||||
-I, --ignore-rsync-warning ignore rsync partial transfer warning
|
||||
@@ -1014,7 +1014,7 @@ The output from this program looks like this::
|
||||
--version output version information, then exit
|
||||
--verbose output verbose activity information
|
||||
--monitoring-history track advance or lag of the replication in every standby in repl_monitor
|
||||
-f, --config_file=PATH database to connect to
|
||||
-f, --config-file=PATH database to connect to
|
||||
|
||||
repmgrd monitors a cluster of servers.
|
||||
|
||||
|
||||
2
debian/repmgr.repmgrd.default
vendored
2
debian/repmgr.repmgrd.default
vendored
@@ -6,7 +6,7 @@
|
||||
REPMGRD_ENABLED=no
|
||||
|
||||
# Options for repmgrd (required)
|
||||
#REPMGRD_OPTS="--config_file /path/to/repmgr.conf"
|
||||
#REPMGRD_OPTS="--config-file /path/to/repmgr.conf"
|
||||
|
||||
# User to run repmgrd as
|
||||
#REPMGRD_USER=postgres
|
||||
|
||||
4
debian/repmgr.repmgrd.init
vendored
4
debian/repmgr.repmgrd.init
vendored
@@ -50,7 +50,7 @@ do_start()
|
||||
# 0 if daemon has been started
|
||||
# 1 if daemon was already running
|
||||
# other if daemon could not be started or a failure occured
|
||||
start-stop-daemon --start --quiet --chuid $REPMGRD_USER --make-pidfile --pidfile $REPMGRD_PIDFILE --exec $REPMGRD_BIN -- $REPMGRD_OPTS
|
||||
start-stop-daemon --start --quiet --background --chuid $REPMGRD_USER --make-pidfile --pidfile $REPMGRD_PIDFILE --exec $REPMGRD_BIN -- $REPMGRD_OPTS
|
||||
}
|
||||
|
||||
do_stop()
|
||||
@@ -90,7 +90,7 @@ case "$1" in
|
||||
$0 start
|
||||
;;
|
||||
status)
|
||||
status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
|
||||
status_of_proc -p $REPMGRD_PIDFILE $REPMGRD_BIN $NAME && exit 0 || exit $?
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
|
||||
|
||||
2
repmgr.c
2
repmgr.c
@@ -1843,7 +1843,7 @@ help(const char *progname)
|
||||
printf(_(" -D, --data-dir=DIR local directory where the files will be\n" \
|
||||
" copied to\n"));
|
||||
printf(_(" -l, --local-port=PORT standby or witness server local port\n"));
|
||||
printf(_(" -f, --config_file=PATH path to the configuration file\n"));
|
||||
printf(_(" -f, --config-file=PATH path to the configuration file\n"));
|
||||
printf(_(" -R, --remote-user=USERNAME database server username for rsync\n"));
|
||||
printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC\n" \
|
||||
" wal_keep_segments (default: 5000)\n"));
|
||||
|
||||
@@ -1343,7 +1343,7 @@ help(const char *progname)
|
||||
printf(_(" --version output version information, then exit\n"));
|
||||
printf(_(" --verbose output verbose activity information\n"));
|
||||
printf(_(" --monitoring-history track advance or lag of the replication in every standby in repl_monitor\n"));
|
||||
printf(_(" -f, --config_file=PATH configuration file\n"));
|
||||
printf(_(" -f, --config-file=PATH configuration file\n"));
|
||||
printf(_(" -d, --daemonize detach process from foreground\n"));
|
||||
printf(_(" -p, --pid-file=PATH write a PID file\n"));
|
||||
printf(_("\n%s monitors a cluster of servers.\n"), progname);
|
||||
|
||||
Reference in New Issue
Block a user