While systemd will automatically match foo.socket with foo.service
based on their names, it's nicer to connect the two explicitly.
This is what we do for all services, with virtlogd and virtlockd
being the only exceptions.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
[Socket]
ListenStream=@runstatedir@/libvirt/virtlockd-sock
+Service=virtlockd.service
SocketMode=0600
[Install]
[Socket]
ListenStream=@runstatedir@/libvirt/virtlogd-sock
+Service=virtlogd.service
SocketMode=0600
[Install]