mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
systemd: Introduce service_in/service_out variables
They're similar to the existing socket_in/socket_out variables and will make future changes nicer. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
74c012c35e
commit
7e37fe2728
@ -816,9 +816,12 @@ if conf.has('WITH_LIBVIRTD')
|
|||||||
'sockmode': sockmode,
|
'sockmode': sockmode,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
service_in = unit['service_in']
|
||||||
|
service_out = '@0@.service'.format(unit['service'])
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
input: unit['service_in'],
|
input: service_in,
|
||||||
output: '@0@.service'.format(unit['service']),
|
output: service_out,
|
||||||
configuration: unit_conf,
|
configuration: unit_conf,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: systemd_unit_dir,
|
install_dir: systemd_unit_dir,
|
||||||
|
Loading…
Reference in New Issue
Block a user