[Bug 2641] Add systemd notify code to to track running server
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Mar 30 10:31:13 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=2641
Luca Boccassi <luca.boccassi at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luca.boccassi at gmail.com
--- Comment #14 from Luca Boccassi <luca.boccassi at gmail.com> ---
Thanks for working on that, will be great to have native support for
the readiness protocol.
One review comment: unless I'm missing it because it's handled outside
of the patch context, after a RELOADING=1, when the reload operation is
complete, a READY=1 needs to be sent too:
https://www.freedesktop.org/software/systemd/man/latest/sd_notify.html#RELOADING=1
While there, it would be really nice if the RELOADING=1 message also
included MONOTONIC_USEC=<timestamp> (CLOCK_MONOTONIC in usec as a
decimal string), which is used for accurate synchronization. IE, write
a string like "RELOADING=1\nMONOTONIC_USEC=1234...". This will enable
the unit to be of Type=notify-reload which adds some nice features.
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list