mirror of https://gitee.com/openkylin/libvirt.git
systemd: Add missing Service for virtlogd/virtlockd
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>
This commit is contained in:
parent
06f12fd041
commit
ec51404924
|
@ -4,6 +4,7 @@ Before=libvirtd.service
|
|||
|
||||
[Socket]
|
||||
ListenStream=@runstatedir@/libvirt/virtlockd-sock
|
||||
Service=virtlockd.service
|
||||
SocketMode=0600
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -4,6 +4,7 @@ Before=libvirtd.service
|
|||
|
||||
[Socket]
|
||||
ListenStream=@runstatedir@/libvirt/virtlogd-sock
|
||||
Service=virtlogd.service
|
||||
SocketMode=0600
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue