]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add support for reporting status via sd_notify()
authorOndřej Surý <ondrej@sury.org>
Wed, 20 Oct 2021 16:14:49 +0000 (18:14 +0200)
committerPetr Špaček <pspacek@isc.org>
Thu, 15 Sep 2022 08:12:15 +0000 (10:12 +0200)
commit52b62b78903e661e5d5cf2dbc8daca4ac603dfeb
treec37e2eeba39491e61d2abf15c7b5211f2bedc2ea
parent0b7f082060541f1f94fb640523b4efac4a52237e
Add support for reporting status via sd_notify()

sd_notify() may be called by a service to notify the service manager
about state changes. It can be used to send arbitrary information,
encoded in an environment-block-like string. Most importantly, it can be
used for start-up completion notification.

Add libsystemd check to autoconf script and when the library is detected
add calls to sd_notify() around the server->reload_status changes.

Co-authored-by: Petr Špaček <pspacek@isc.org>
bin/named/Makefile.am
bin/named/server.c
configure.ac