mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 13:45:07 -05:00
With SOCK_DGRAM sockets, the helper doesn't stop as there is no error received when the socket is closed on the daemon side. Add a QUIT operation to the protocol which is requested when the daemon is exiting. It has no response. Register the stopping function with atexit() to stop the helper even when the daemon is not exiting cleanly, e.g. due to a fatal error.
12 KiB
12 KiB