mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
@@ -2,9 +2,12 @@
|
||||
Description=Virtualization daemon
|
||||
Requires=virtlogd.socket
|
||||
Requires=virtlockd.socket
|
||||
Requires=libvirtd.socket
|
||||
Requires=libvirtd-ro.socket
|
||||
Requires=libvirtd-admin.socket
|
||||
# Use Wants instead of Requires so that users
|
||||
# can disable these three .socket units to revert
|
||||
# to a traditional non-activation deployment setup
|
||||
Wants=libvirtd.socket
|
||||
Wants=libvirtd-ro.socket
|
||||
Wants=libvirtd-admin.socket
|
||||
Wants=systemd-machined.service
|
||||
Before=libvirt-guests.service
|
||||
After=network.target
|
||||
|
||||
Reference in New Issue
Block a user