File: pg_autoctl_reload.rst

package info (click to toggle)
pg-auto-failover 2.0-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 5,156 kB
  • sloc: ansic: 58,245; python: 5,501; sql: 3,171; makefile: 593; sh: 35
file content (36 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. _pg_autoctl_reload:

pg_autoctl reload
=================

pg_autoctl reload - signal the pg_autoctl for it to reload its configuration

Synopsis
--------

This commands signals a running ``pg_autoctl`` process to reload its
configuration from disk, and also signal the managed Postgres service to
reload its configuration.

::

  usage: pg_autoctl reload  [ --pgdata ] [ --json ]

  --pgdata      path to data directory

Description
-----------

The ``pg_autoctl reload`` commands finds the PID of the running service for
the given ``--pgdata``, and if the process is still running, sends a
``SIGHUP`` signal to the process.

Options
-------

--pgdata

  Location of the Postgres node being managed locally. Defaults to the
  environment variable ``PGDATA``. Use ``--monitor`` to connect to a monitor
  from anywhere, rather than the monitor URI used by a local Postgres node
  managed with ``pg_autoctl``.