[libvirt] [PATCH] Configuring systemd to restart libvirt on abort
Mooli Tayer
mtayer at redhat.com
Tue Jul 30 09:04:21 UTC 2013
----- Original Message -----
> On 07/29/2013 08:36 AM, Mooli Tayer wrote:
> > From: Mooli Tayer <mtayer at redhat.com>
> >
> > This will create a respawn behaviour in case libvirt
> > process exits due to an uncaught signal not specified
> > as a clean exit status.
> > see http://www.freedesktop.org/software/systemd/man/systemd.service.html
> > ---
> > daemon/libvirtd.service.in | 1 +
> > 1 file changed, 1 insertion(+)
>
> Looks useful. However, I think this is a feature, and as we are already
> in freeze for 1.1.1, I think this should wait until after the release
> before this goes in.
Does this patch needs to be resubmitted after the release?
> >
> > diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in
> > index aa5913b..b3c0849 100644
> > --- a/daemon/libvirtd.service.in
> > +++ b/daemon/libvirtd.service.in
> > @@ -15,6 +15,7 @@ EnvironmentFile=-/etc/sysconfig/libvirtd
> > ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
> > ExecReload=/bin/kill -HUP $MAINPID
> > KillMode=process
> > +Restart=on-abort
> > # Override the maximum number of opened files
> > #LimitNOFILE=2048
> >
> >
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
More information about the libvir-list
mailing list