mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
systemd: Rename @mode@ -> @sockmode@
Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
6922526dbb
commit
e9d4dc9512
@ -799,9 +799,9 @@ if conf.has('WITH_LIBVIRTD')
|
|||||||
|
|
||||||
foreach unit : virt_daemon_units
|
foreach unit : virt_daemon_units
|
||||||
if conf.has('WITH_POLKIT')
|
if conf.has('WITH_POLKIT')
|
||||||
mode = '0666'
|
sockmode = '0666'
|
||||||
else
|
else
|
||||||
mode = '0600'
|
sockmode = '0600'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
unit_conf = configuration_data({
|
unit_conf = configuration_data({
|
||||||
@ -813,7 +813,7 @@ if conf.has('WITH_LIBVIRTD')
|
|||||||
'service': unit['service'],
|
'service': unit['service'],
|
||||||
'sockprefix': unit['sockprefix'],
|
'sockprefix': unit['sockprefix'],
|
||||||
'deps': unit.get('deps', ''),
|
'deps': unit.get('deps', ''),
|
||||||
'mode': mode,
|
'sockmode': sockmode,
|
||||||
})
|
})
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
|
@ -6,7 +6,7 @@ Before=@service@.service
|
|||||||
[Socket]
|
[Socket]
|
||||||
ListenStream=@runstatedir@/libvirt/@sockprefix@-sock
|
ListenStream=@runstatedir@/libvirt/@sockprefix@-sock
|
||||||
Service=@service@.service
|
Service=@service@.service
|
||||||
SocketMode=@mode@
|
SocketMode=@sockmode@
|
||||||
RemoveOnStop=yes
|
RemoveOnStop=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user