diff --git a/doc/repmgr-daemon-start.sgml b/doc/repmgr-daemon-start.sgml
index 17371f0f..03013818 100644
--- a/doc/repmgr-daemon-start.sgml
+++ b/doc/repmgr-daemon-start.sgml
@@ -28,29 +28,18 @@
started. This behaviour can be overridden by specifying a diffent value using the
option, or disabled altogether with the option.
-
-
-
- Configuration
-
- repmgr daemon start will execute the command defined by the
- repmgrd_service_start_command parameter in repmgr.conf.
- This must be set to a shell command which will start repmgrd;
- if &repmgr; was installed from a package, this will be the service command defined by the
- package. For more details see Appendix: &repmgr; package details.
-
- If &repmgr; was installed from a system package, and you do not configure
- repmgrd_service_start_command to an appropriate service command, this may
- result in the system becoming confused about the state of the repmgrd
- service; this is particularly the case with systemd.
+ The repmgr.conf parameter repmgrd_service_start_command
+ must be set for repmgr daemon start to work; see section
+ for details.
-
+
+
Options
@@ -100,6 +89,45 @@
+
+ Configuration file settings
+
+ The following parameter in repmgr.conf is relevant
+ to repmgr daemon start:
+
+
+
+
+
+
+ repmgrd_service_start_command
+ with "repmgr daemon start"
+
+
+
+
+
+ repmgr daemon start will execute the command defined by the
+ repmgrd_service_start_command parameter in repmgr.conf.
+ This must be set to a shell command which will start repmgrd;
+ if &repmgr; was installed from a package, this will be the service command defined by the
+ package. For more details see Appendix: &repmgr; package details.
+
+
+
+ If &repmgr; was installed from a system package, and you do not configure
+ repmgrd_service_start_command to an appropriate service command, this may
+ result in the system becoming confused about the state of the repmgrd
+ service; this is particularly the case with systemd.
+
+
+
+
+
+
+
+
+
Exit codes
diff --git a/doc/repmgr-daemon-stop.sgml b/doc/repmgr-daemon-stop.sgml
index 5c56ed39..12abca20 100644
--- a/doc/repmgr-daemon-stop.sgml
+++ b/doc/repmgr-daemon-stop.sgml
@@ -36,6 +36,13 @@
+
+
+ The repmgr.conf parameter repmgrd_service_stop_command
+ must be set for repmgr daemon stop to work; see section
+ for details.
+
+
@@ -107,6 +114,44 @@
+
+ Configuration file settings
+
+ The following parameter in repmgr.conf is relevant
+ to repmgr daemon stop:
+
+
+
+
+
+
+ repmgrd_service_stop_command
+ with "repmgr daemon stop"
+
+
+
+
+
+ repmgr daemon stop will execute the command defined by the
+ repmgrd_service_stop_command parameter in repmgr.conf.
+ This must be set to a shell command which will stop repmgrd;
+ if &repmgr; was installed from a package, this will be the service command defined by the
+ package. For more details see Appendix: &repmgr; package details.
+
+
+
+ If &repmgr; was installed from a system package, and you do not configure
+ repmgrd_service_stop_command to an appropriate service command, this may
+ result in the system becoming confused about the state of the repmgrd
+ service; this is particularly the case with systemd.
+
+
+
+
+
+
+
+
Exit codes
@@ -148,7 +193,7 @@
See also
- ,
+ , ,
diff --git a/doc/repmgrd-configuration.sgml b/doc/repmgrd-configuration.sgml
index b911e92b..993c0bc5 100644
--- a/doc/repmgrd-configuration.sgml
+++ b/doc/repmgrd-configuration.sgml
@@ -103,7 +103,7 @@
-
+ repmgrdPostgreSQL service configuration
@@ -126,6 +126,42 @@
+
+
+ repmgrd
+ repmgrd service configuration
+
+ repmgrd service configuration
+
+ If you are intending to use the repmgr daemon start
+ and repmgr daemon stop commands, the following
+ parameters must be set in repmgr.conf:
+
+
+
+ repmgrd_service_start_command
+
+
+
+ repmgrd_service_stop_command
+
+
+
+
+
+
+ Example (for &repmgr; with PostgreSQL 11 on CentOS 7):
+
+repmgrd_service_start_command='sudo systemctl repmgr11 start'
+repmgrd_service_stop_command='sudo systemctl repmgr11 stop'
+
+
+
+ For more details see the reference page for each command.
+
+
+
+
repmgrd