1systemd_dep = dependency('systemd') 2 3systemd_system_unitdir = systemd_dep.get_variable( 4 pkgconfig: 'systemdsystemunitdir') 5 6conf_data = configuration_data() 7conf_data.set('BINDIR', get_option('prefix') / get_option('bindir')) 8 9configure_file( 10 configuration: conf_data, 11 input: 'xyz.openbmc_project.eStoraged.service.in', 12 output: 'xyz.openbmc_project.eStoraged.service', 13 install: true, 14 install_dir: systemd_system_unitdir, 15) 16