1unit_files = [
2    'phosphor-systemd-target-monitor.service',
3    'phosphor-discover-system-state@.service',
4    'phosphor-reboot-host@.service',
5    'phosphor-reset-host-check@.service',
6    'phosphor-reset-host-reboot-attempts@.service',
7    'phosphor-reset-host-running@.service',
8    'phosphor-reset-sensor-states@.service',
9    'xyz.openbmc_project.State.BMC.service',
10    'xyz.openbmc_project.State.Chassis.service',
11    'xyz.openbmc_project.State.Host.service',
12    'xyz.openbmc_project.State.ScheduledHostTransition.service'
13]
14
15foreach u : unit_files
16    configure_file(
17        copy: true,
18        input: u,
19        install: true,
20        install_dir: systemd_system_unit_dir,
21        output: u,
22        )
23endforeach
24