提交 ec7e31ed 编写于 作者: D Daniel P. Berrangé

remote: use Wants instead of Requires for libvirtd sockets

To facilitate upgrades from earlier versions of libvirt which did not
use socket activation for libvirtd, we want to allow the libvirtd socket
units to be disabled (masked). This can only be supported if we use the
weaker Wants statement instead of Requires.
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 ba7592f6
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
Description=Virtualization daemon Description=Virtualization daemon
Requires=virtlogd.socket Requires=virtlogd.socket
Requires=virtlockd.socket Requires=virtlockd.socket
Requires=libvirtd.socket # Use Wants instead of Requires so that users
Requires=libvirtd-ro.socket # can disable these three .socket units to revert
Requires=libvirtd-admin.socket # to a traditional non-activation deployment setup
Wants=libvirtd.socket
Wants=libvirtd-ro.socket
Wants=libvirtd-admin.socket
Wants=systemd-machined.service Wants=systemd-machined.service
Before=libvirt-guests.service Before=libvirt-guests.service
After=network.target After=network.target
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册