mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-01 02:41:14 +00:00
ee04bfaf9d
Certain libvirtd.conf settings are not honoured when using systemd socket activation. Certain systemd unit file settings must match those defined in libvirtd.conf for systemd socket activation to work with systemd version < 227, otherwise libvirtd cannot determine which inherited FD to use for which service. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
15 lines
301 B
SYSTEMD
15 lines
301 B
SYSTEMD
[Unit]
|
|
Description=Libvirt TLS IP socket
|
|
Before=libvirtd.service
|
|
BindsTo=libvirtd.socket
|
|
After=libvirtd.socket
|
|
|
|
[Socket]
|
|
# This must match the /etc/libvirt/libvirtd.conf tls_port setting
|
|
# when using systemd version < 227
|
|
ListenStream=16514
|
|
Service=libvirtd.service
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|