]> xenbits.xensource.com Git - libvirt.git/commit
systemd: Make @sockprefix@ optional
authorAndrea Bolognani <abologna@redhat.com>
Tue, 19 Sep 2023 15:25:27 +0000 (17:25 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Sep 2023 14:57:50 +0000 (16:57 +0200)
commit1f78e9f910997f929c0515c1d92310898359e356
tree356b26c9a8d2904eaaad9f860dcd17c23a2ad5be
parent6ed0cc171198556b373cb466b1040f7b476d9272
systemd: Make @sockprefix@ optional

For most services, the socket paths can be derived trivially from
the name of the daemon: for virtqemud, for example, they will be

  /run/libvirt/virtqemud-sock
  /run/libvirt/virtqemud-sock-ro
  /run/libvirt/virtqemud-admin-sock

libvirtd and virtproxyd are the exceptions, since their socket
paths will be

  /run/libvirt/libvirt-sock
  /run/libvirt/libvirt-sock-ro
  /run/libvirt/libvirt-admin-sock

So we still need to be able to provide a custom @sockprefix@ in
those cases, but in the most common scenario we can do away with
the requirement by introducing a sensible default.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/meson.build