mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-31 05:47:15 +03: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
|
||||
if conf.has('WITH_POLKIT')
|
||||
mode = '0666'
|
||||
sockmode = '0666'
|
||||
else
|
||||
mode = '0600'
|
||||
sockmode = '0600'
|
||||
endif
|
||||
|
||||
unit_conf = configuration_data({
|
||||
@ -813,7 +813,7 @@ if conf.has('WITH_LIBVIRTD')
|
||||
'service': unit['service'],
|
||||
'sockprefix': unit['sockprefix'],
|
||||
'deps': unit.get('deps', ''),
|
||||
'mode': mode,
|
||||
'sockmode': sockmode,
|
||||
})
|
||||
|
||||
configure_file(
|
||||
|
@ -6,7 +6,7 @@ Before=@service@.service
|
||||
[Socket]
|
||||
ListenStream=@runstatedir@/libvirt/@sockprefix@-sock
|
||||
Service=@service@.service
|
||||
SocketMode=@mode@
|
||||
SocketMode=@sockmode@
|
||||
RemoveOnStop=yes
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user