]> git.ipfire.org Git - thirdparty/bind9.git/commit
sd_notify(3): set the MONOTONIC_USEC field with RELOADING=1
authorAram Sargsyan <aram@isc.org>
Thu, 19 Oct 2023 12:57:13 +0000 (12:57 +0000)
committerAram Sargsyan <aram@isc.org>
Mon, 23 Oct 2023 13:27:59 +0000 (13:27 +0000)
commit71b2f409633823e3544f9adc328429ff55cf2da1
tree4a3e471321c466a33fddf23603e21f63cd32af68
parent60856e65cb83892e384c111db5b06c2637b934a4
sd_notify(3): set the MONOTONIC_USEC field with RELOADING=1

When using sd_notify(3) to send a message to the service manager
about named being reloaded, systemd also requires the MONOTONIC_USEC
field to be set to the current monotonic time in microseconds,
otherwise the 'systemctl reload' command fails.

Add the MONOTONIC_USEC field to the message.

See 'man 5 systemd.service' for more information.
bin/named/server.c