diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-12-07 12:46:27 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2015-12-07 17:32:49 +0000 |
commit | 5cce775e92784d30692055bbc8b52b2aa0c9d496 (patch) | |
tree | 4672c8b0a1a7274cfbf5088d7c283a06e435b042 | |
parent | b6cbabc551f0fd8a3c20eef593a1ddc3f99db01b (diff) | |
download | libvirt-5cce775e92784d30692055bbc8b52b2aa0c9d496.tar.gz |
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>
-rw-r--r-- | daemon/libvirtd.service.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon/libvirtd.service.in b/daemon/libvirtd.service.in index 9e67e433ad..608221c152 100644 --- a/daemon/libvirtd.service.in +++ b/daemon/libvirtd.service.in @@ -22,3 +22,5 @@ Restart=on-failure [Install] WantedBy=multi-user.target +Also=virtlockd.socket +Also=virtlogd.socket |