]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libvirt-guests: Weaken dependency on libvirtd
authorAndrea Bolognani <abologna@redhat.com>
Fri, 7 Oct 2016 08:10:42 +0000 (10:10 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 12 Oct 2016 13:45:01 +0000 (15:45 +0200)
commit2273bbd4573dc44a7650c5517f9c0bf2b8f0bc80
tree19866f982639fa4ae85de50e64c6b89753ea7314
parentd17fab69be7a73336d388b805c282037ffb29647
libvirt-guests: Weaken dependency on libvirtd

The Requires relationship is very strong, in that it prevents
a unit from running unless all the units it Requires are
running as well.

This turns out to be a problem because we want to be able to
restart libvirtd at any time without having libvirt-guests
suspend or shutdown running guests.

Turn the Requires relationship into a Wants relationship:
this way starting libvirt-guests will cause systemd to (attempt
to) start libvirtd as well, but stopping or restarting libvirtd
will not alter libvirt-guests' running state.
tools/libvirt-guests.service.in