]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
libvirtd: enable virtlockd/virtlogd socket activation on install
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Dec 2015 12:46:27 +0000 (12:46 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 7 Dec 2015 17:32:49 +0000 (17:32 +0000)
commit5cce775e92784d30692055bbc8b52b2aa0c9d496
tree4672c8b0a1a7274cfbf5088d7c283a06e435b042
parentb6cbabc551f0fd8a3c20eef593a1ddc3f99db01b
libvirtd: enable virtlockd/virtlogd socket activation on install

When someone does 'systemctl enable libvirtd.service' we should
also enable virtlockd.socket/virtlogd.socket, so that they can
be auto-activated if libvirtd tries to access the sockets.

Without this, people have to manually enable the units themselves
via 'systemctl enable virtdlogd.socket'.

This also ensures that if distros uses  'systemctl preset' for
enabling 'libvirtd.service', then the virtdlogd.socket gets
enabled without having to wait for the distro to update their
presets file.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
daemon/libvirtd.service.in