Anand Buddhdev wrote:
> Knot DNS, for example, has a compile-time option to link against systemd
> libraries. Then, when Knot starts, it loads all its zones in, does
> whatever else it needs to do, and then sends a notification via dbus.
> 
> If anyone cares about this, they could open a feature request to add
> Systemd dbus notification support to BIND. Good luck with it :)

Knot actually supports Type=notify (not Type=dbus), which is a lot
simpler.

https://www.freedesktop.org/software/systemd/man/sd_notify.html

Basically, if libsystemd is available, call 'sd_notify(0, "READY=1");'
once the daemon is ready to accept requests.

-- 
Robert Edmonds
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to