Add support for systemd service notifications

Enterprise / PostgreSQL - Peter Eisentraut [gmx.net] - 2 February 2016 20:04 UTC

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.

7d17e68 Add support for systemd service notifications
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(+)

Upstream: git.postgresql.org


  • Share