[Unit]
Description=Libvirt proxy admin socket
Before=virtproxyd.service
BindsTo=virtproxyd.socket
After=virtproxyd.socket
libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tcp.socket libvirtd-tls.socket

[Socket]
# The directory must match the /etc/libvirt/virtproxyd.conf unix_sock_dir setting
# when using systemd version < 227
ListenStream=/run/libvirt/libvirt-admin-sock
Service=virtproxyd.service
SocketMode=0600

[Install]
WantedBy=sockets.target
