debian init script and config file documentation fixes

This commit is contained in:
József Kószó
2014-03-21 14:18:07 +01:00
parent 2d48d5aee4
commit 2a6c835a5a
5 changed files with 7 additions and 7 deletions

View File

@@ -890,7 +890,7 @@ The output from this program looks like this::
Configuration options: Configuration options:
-D, --data-dir=DIR local directory where the files will be copied to -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 -R, --remote-user=USERNAME database server username for rsync
-w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000) -w, --wal-keep-segments=VALUE minimum value for the GUC wal_keep_segments (default: 5000)
-I, --ignore-rsync-warning ignore rsync partial transfer warning -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 --version output version information, then exit
--verbose output verbose activity information --verbose output verbose activity information
--monitoring-history track advance or lag of the replication in every standby in repl_monitor --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. repmgrd monitors a cluster of servers.

View File

@@ -6,7 +6,7 @@
REPMGRD_ENABLED=no REPMGRD_ENABLED=no
# Options for repmgrd (required) # 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 # User to run repmgrd as
#REPMGRD_USER=postgres #REPMGRD_USER=postgres

View File

@@ -50,7 +50,7 @@ do_start()
# 0 if daemon has been started # 0 if daemon has been started
# 1 if daemon was already running # 1 if daemon was already running
# other if daemon could not be started or a failure occured # 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() do_stop()
@@ -90,7 +90,7 @@ case "$1" in
$0 start $0 start
;; ;;
status) 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 echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2

View File

@@ -1864,7 +1864,7 @@ help(const char *progname)
printf(_(" -D, --data-dir=DIR local directory where the files will be\n" \ printf(_(" -D, --data-dir=DIR local directory where the files will be\n" \
" copied to\n")); " copied to\n"));
printf(_(" -l, --local-port=PORT standby or witness server local port\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(_(" -R, --remote-user=USERNAME database server username for rsync\n"));
printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC\n" \ printf(_(" -w, --wal-keep-segments=VALUE minimum value for the GUC\n" \
" wal_keep_segments (default: 5000)\n")); " wal_keep_segments (default: 5000)\n"));

View File

@@ -1343,7 +1343,7 @@ help(const char *progname)
printf(_(" --version output version information, then exit\n")); printf(_(" --version output version information, then exit\n"));
printf(_(" --verbose output verbose activity information\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(_(" --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(_(" -d, --daemonize detach process from foreground\n"));
printf(_(" -p, --pid-file=PATH write a PID file\n")); printf(_(" -p, --pid-file=PATH write a PID file\n"));
printf(_("\n%s monitors a cluster of servers.\n"), progname); printf(_("\n%s monitors a cluster of servers.\n"), progname);