repmgr daemon stoprepmgrdstoppingrepmgr daemon stoprepmgr daemon stopStop the repmgrd daemonDescription
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.
Configurationrepmgr 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.
Ifrepmgrd_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.
Options
Check prerequisites but don't actually attempt to stop repmgrd.
This action will output the command which would be executed.
Exit codes
Following exit codes can be emitted by repmgr daemon stop:
repmgrd could be stopped.
repmgrd could not be stopped.
See also