Skip to content
Snippets Groups Projects
Commit 5cce775e authored by Daniel P. Berrangé's avatar Daniel P. Berrangé :speech_balloon:
Browse files

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: default avatarDaniel P. Berrange <berrange@redhat.com>
parent b6cbabc5
No related branches found
No related tags found
No related merge requests found
......@@ -22,3 +22,5 @@ Restart=on-failure
[Install]
WantedBy=multi-user.target
Also=virtlockd.socket
Also=virtlogd.socket
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment