mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-02 15:22:19 +00:00
Currently we only set this for the main sockets, which means that $ systemctl stop virtqemud.socket will make the socket disappear from the filesystem while $ systemctl stop virtqemud-ro.socket won't. Get rid of this inconsistency. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
16 lines
297 B
SYSTEMD
16 lines
297 B
SYSTEMD
[Unit]
|
|
Description=@name@ local read-only socket
|
|
BindsTo=libvirtd.socket
|
|
After=libvirtd.socket
|
|
|
|
[Socket]
|
|
ListenStream=@runstatedir@/libvirt/libvirt-sock-ro
|
|
Service=libvirtd.service
|
|
SocketMode=0666
|
|
RemoveOnStop=yes
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|
|
Also=libvirtd.socket
|
|
Also=libvirtd-admin.socket
|