[libvirt PATCH v2 1/6] daemons: Support --timeout 0
Daniel P. Berrangé
berrange at redhat.com
Fri Apr 3 09:24:21 UTC 2020
On Thu, Apr 02, 2020 at 07:14:26PM +0200, Andrea Bolognani wrote:
> When using systemd we want to take advantage of socket activation
> instead of keeping daemons running all the time, so we default to
> shutting them down after two minutes of inactivity.
>
> At the same time, we want it to be possible for the admin to opt
> out of this behavior and disable timeouts entirely. A very natural
> way to do so would be to specify a zero-length timeout, but that's
> currently not accepted by the command line parser. Address that.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> Reviewed-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/locking/lock_daemon.c | 6 +++---
> src/logging/log_daemon.c | 6 +++---
> src/remote/remote_daemon.c | 6 +++---
> 3 files changed, 9 insertions(+), 9 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
More information about the libvir-list
mailing list