Add support for systemd service notifications
Peter 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>
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +49 −0 |
| configure.in | modified | +13 −0 |
| doc/src/sgml/installation.sgml | modified | +16 −0 |
| doc/src/sgml/runtime.sgml | modified | +35 −0 |
| src/backend/Makefile | modified | +4 −0 |
| src/backend/postmaster/postmaster.c | modified | +26 −0 |
| src/include/pg_config.h.in | modified | +3 −0 |
| src/Makefile.global.in | modified | +1 −0 |