The decision is based only on whether Polkit support is enabled,
so there's no need to go through it again for every single
service.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
install_dir: systemd_unit_dir,
)
- foreach unit : virt_daemon_units
- if conf.has('WITH_POLKIT')
- sockmode = '0666'
- else
- sockmode = '0600'
- endif
+ if conf.has('WITH_POLKIT')
+ sockmode = '0666'
+ else
+ sockmode = '0600'
+ endif
+ foreach unit : virt_daemon_units
unit_conf = configuration_data({
'runstatedir': runstatedir,
'sbindir': sbindir,