Re: [PATCH 01/26] util: add APIs for more systemd notifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 08, 2025 at 19:42:34 +0000, Daniel P. Berrangé wrote:
> We have a way to notify systemd when we're done starting the daemon.
> 
> Systemd supports many more notifications, however, and many of them
> are quite relevant to our needs:
> 
>   https://www.freedesktop.org/software/systemd/man/latest/sd_notify.html
> 
> This renames the existing notification API to better reflect its
> semantics, and adds new APIs for reporting
> 
>  * Initiation of config file reload
>  * Initiation of daemon shutdown process
>  * Adhoc progress status messages
>  * Request to extend service shutdown timeout
> 
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms |  6 +++++-
>  src/rpc/virnetdaemon.c   |  2 +-
>  src/util/virsystemd.c    | 41 +++++++++++++++++++++++++++++++++++++---
>  src/util/virsystemd.h    |  6 +++++-
>  4 files changed, 49 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux