mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00: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:
parent
ba7592f6c1
commit
ec7e31ed32
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user