pgsql: Add support for systemd service notifications

Started by Peter Eisentrautover 10 years ago2 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(+)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pgsql: Add support for systemd service notifications

Peter Eisentraut <peter_e@gmx.net> writes:

Add support for systemd service notifications

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

regards, tom lane

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers