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>
Showing
- configure 49 additions, 0 deletionsconfigure
- configure.in 13 additions, 0 deletionsconfigure.in
- doc/src/sgml/installation.sgml 16 additions, 0 deletionsdoc/src/sgml/installation.sgml
- doc/src/sgml/runtime.sgml 35 additions, 0 deletionsdoc/src/sgml/runtime.sgml
- src/Makefile.global.in 1 addition, 0 deletionssrc/Makefile.global.in
- src/backend/Makefile 4 additions, 0 deletionssrc/backend/Makefile
- src/backend/postmaster/postmaster.c 26 additions, 0 deletionssrc/backend/postmaster/postmaster.c
- src/include/pg_config.h.in 3 additions, 0 deletionssrc/include/pg_config.h.in
Loading
Please register or sign in to comment