PG_AUTOCTL STOP(1) | pg_auto_failover | PG_AUTOCTL STOP(1) |
pg_autoctl stop - pg_autoctl stop
pg_autoctl stop - signal the pg_autoctl service for it to stop
This commands stops the processes needed to run a monitor node or a keeper node, depending on the configuration file that belongs to the --pgdata option or PGDATA environment variable.
usage: pg_autoctl stop [ --pgdata --fast --immediate ] --pgdata path to data directory --fast fast shutdown mode for the keeper --immediate immediate shutdown mode for the keeper
The pg_autoctl stop commands finds the PID of the running service for the given --pgdata, and if the process is still running, sends a SIGTERM signal to the process.
When pg_autoclt receives a shutdown signal a shutdown sequence is triggered. Depending on the signal received, an operation that has been started (such as a state transition) is either run to completion, stopped as the next opportunity, or stopped immediately even when in the middle of the transition.
PGDATA
PG_AUTOCTL_MONITOR
XDG_CONFIG_HOME
XDG_DATA_HOME
Microsoft
Copyright (c) Microsoft Corporation. All rights reserved.
November 6, 2022 | 2.0 |