xref: /openbmc/phosphor-state-manager/service_files/meson.build (revision 378fe11d68fb141dda13feb10f1d40abe8d0eb0f)
1179d38c2SAndrew Geisslerunit_files = [
2179d38c2SAndrew Geissler    'phosphor-systemd-target-monitor.service',
3c212353dSAndrew Geissler    'phosphor-discover-system-state@.service',
4c212353dSAndrew Geissler    'phosphor-reboot-host@.service',
5c212353dSAndrew Geissler    'phosphor-reset-host-reboot-attempts@.service',
65f8e04a6SAndrew Geissler    'phosphor-reset-host-recovery@.service',
7c212353dSAndrew Geissler    'phosphor-reset-host-running@.service',
8c212353dSAndrew Geissler    'phosphor-reset-sensor-states@.service',
9c212353dSAndrew Geissler    'xyz.openbmc_project.State.BMC.service',
10c212353dSAndrew Geissler    'xyz.openbmc_project.State.Chassis.service',
11f304820bSCarol Wang    'xyz.openbmc_project.State.Host.service',
12fe270d35SAndrew Geissler    'xyz.openbmc_project.State.Hypervisor.service',
13d9b527b6SAndrew Geissler    'xyz.openbmc_project.State.ScheduledHostTransition.service',
141e8b164fSAndrew Geissler    'phosphor-clear-one-time@.service',
151e8b164fSAndrew Geissler    'phosphor-set-host-transition-to-off@.service',
16*378fe11dSAndrew Geissler    'phosphor-set-host-transition-to-running@.service',
17*378fe11dSAndrew Geissler    'phosphor-chassis-check-power-status@.service'
18179d38c2SAndrew Geissler]
19179d38c2SAndrew Geissler
20179d38c2SAndrew Geisslerforeach u : unit_files
21179d38c2SAndrew Geissler    configure_file(
22179d38c2SAndrew Geissler        copy: true,
23179d38c2SAndrew Geissler        input: u,
24179d38c2SAndrew Geissler        install: true,
25179d38c2SAndrew Geissler        install_dir: systemd_system_unit_dir,
26179d38c2SAndrew Geissler        output: u,
27179d38c2SAndrew Geissler        )
28179d38c2SAndrew Geisslerendforeach
29