diff --git a/doc/filelist.sgml b/doc/filelist.sgml index 90657015..6673618f 100644 --- a/doc/filelist.sgml +++ b/doc/filelist.sgml @@ -81,6 +81,8 @@ + + diff --git a/doc/repmgr-daemon-start.sgml b/doc/repmgr-daemon-start.sgml new file mode 100644 index 00000000..f4d9c421 --- /dev/null +++ b/doc/repmgr-daemon-start.sgml @@ -0,0 +1,95 @@ + + + repmgr daemon start + + + + repmgrd + starting + + + + repmgr daemon start + + + + repmgr daemon start + Start the repmgrd daemon + + + + Description + + This command starts the repmgrd daemon on the + local node. + + + + If &repmgr; was installed from packages, it is essential + that repmgrd is configured to use the + package-provided service start/stop commands. See below for details. + + + + + + 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 repmgrd_service_start_command is not set, + &repmgr; will default to executing repmgrd directly. + + + + + 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 + + Following exit codes can be emitted by repmgr daemon start: + + + + + + + + repmgrd could be started. + + + + + + + + + repmgrd could not be started. + + + + + + + + + See also + + + + + + diff --git a/doc/repmgr-daemon-stop.sgml b/doc/repmgr-daemon-stop.sgml new file mode 100644 index 00000000..8feec9a3 --- /dev/null +++ b/doc/repmgr-daemon-stop.sgml @@ -0,0 +1,95 @@ + + + repmgr daemon stop + + + + repmgrd + stopping + + + + repmgr daemon stop + + + + repmgr daemon stop + Stop the repmgrd daemon + + + + Description + + This command stops the repmgrd daemon on the + local node. + + + + If &repmgr; was installed from packages, it is essential + that repmgrd is configured to use the + package-provided service start/stop commands. See below for details. + + + + + + Configuration + + 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 repmgrd_service_stop_command is not set, + &repmgr; will default to executing repmgrd directly. + + + + + 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 + + Following exit codes can be emitted by repmgr daemon stop: + + + + + + + + repmgrd could be stopped. + + + + + + + + + repmgrd could not be stopped. + + + + + + + + + See also + + + + + + diff --git a/doc/repmgr-standby-clone.sgml b/doc/repmgr-standby-clone.sgml index f1c2c634..32dabe3d 100644 --- a/doc/repmgr-standby-clone.sgml +++ b/doc/repmgr-standby-clone.sgml @@ -87,7 +87,7 @@ recovery.conf - customising with "repmgr standby clone" + customising with "repmgr standby clone" Customising recovery.conf diff --git a/doc/repmgr.sgml b/doc/repmgr.sgml index 01472053..791c9525 100644 --- a/doc/repmgr.sgml +++ b/doc/repmgr.sgml @@ -115,6 +115,8 @@ &repmgr-cluster-event; &repmgr-cluster-cleanup; &repmgr-daemon-status; + &repmgr-daemon-start; + &repmgr-daemon-stop; &repmgr-daemon-pause; &repmgr-daemon-unpause;