Thread: pgsql: Add support for systemd service notifications

pgsql: Add support for systemd service notifications

From
Peter Eisentraut
Date:
Add support for systemd service notifications

Insert sd_notify() calls at server start and stop for integration with
systemd.  This allows the use of systemd service units of type "notify",
which greatly simplifies the systemd configuration.

Reviewed-by: Pavel Stěhule <pavel.stehule@gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7d17e683fcc28a1b371c7dd02935728cd2cbf9bf

Modified Files
--------------
configure                           | 49 +++++++++++++++++++++++++++++++++++++
configure.in                        | 13 ++++++++++
doc/src/sgml/installation.sgml      | 16 ++++++++++++
doc/src/sgml/runtime.sgml           | 35 ++++++++++++++++++++++++++
src/Makefile.global.in              |  1 +
src/backend/Makefile                |  4 +++
src/backend/postmaster/postmaster.c | 26 ++++++++++++++++++++
src/include/pg_config.h.in          |  3 +++
8 files changed, 147 insertions(+)


Re: pgsql: Add support for systemd service notifications

From
Tom Lane
Date:
Peter Eisentraut <peter_e@gmx.net> writes:
> Add support for systemd service notifications

... btw, guaibasaurus thinks this broke the docs build.

            regards, tom lane