1unit_files = [
2    'phosphor-systemd-target-monitor.service',
3    'phosphor-discover-system-state@.service',
4    'obmc-power-start@.service',
5    'obmc-power-stop@.service',
6    'obmc-powered-off@.service',
7    'phosphor-reboot-host@.service',
8    'phosphor-reset-chassis-on@.service',
9    'phosphor-reset-chassis-running@.service',
10    'phosphor-reset-host-reboot-attempts@.service',
11    'phosphor-reset-host-recovery@.service',
12    'phosphor-reset-host-running@.service',
13    'phosphor-reset-sensor-states@.service',
14    'xyz.openbmc_project.State.BMC.service',
15    'xyz.openbmc_project.State.Chassis@.service',
16    'xyz.openbmc_project.State.Host@.service',
17    'xyz.openbmc_project.State.Hypervisor.service',
18    'xyz.openbmc_project.State.ScheduledHostTransition@.service',
19    'phosphor-clear-one-time@.service',
20    'phosphor-set-host-transition-to-off@.service',
21    'phosphor-set-host-transition-to-running@.service',
22    'phosphor-chassis-check-power-status@.service',
23    'phosphor-bmc-security-check.service'
24]
25
26foreach u : unit_files
27    configure_file(
28        copy: true,
29        input: u,
30        install: true,
31        install_dir: systemd_system_unit_dir,
32        output: u,
33        )
34endforeach
35