mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Rename some "repmgr daemon ..." commands to "repmgr service ..."
"repmgr daemon" can be interpreted to mean the commands affect the local daemon process only. Rename the commands which affect the entire cluster to "repmgr service ...". The "repmgr daemon ..." form of the affected commands is retained for backwards compatibility.
This commit is contained in:
@@ -1580,7 +1580,7 @@ monitor_streaming_standby(void)
|
||||
{
|
||||
log_notice(_("repmgrd on this node is paused"));
|
||||
log_detail(_("no failover will be carried out"));
|
||||
log_hint(_("execute \"repmgr daemon unpause\" to resume normal failover mode"));
|
||||
log_hint(_("execute \"repmgr service unpause\" to resume normal failover mode"));
|
||||
monitoring_state = MS_DEGRADED;
|
||||
INSTR_TIME_SET_CURRENT(degraded_monitoring_start);
|
||||
}
|
||||
@@ -1884,7 +1884,7 @@ loop:
|
||||
if (PQstatus(local_conn) == CONNECTION_OK && repmgrd_is_paused(local_conn))
|
||||
{
|
||||
log_detail(_("repmgrd paused by administrator"));
|
||||
log_hint(_("execute \"repmgr daemon unpause\" to resume normal failover mode"));
|
||||
log_hint(_("execute \"repmgr service unpause\" to resume normal failover mode"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user