xref: /openbmc/phosphor-state-manager/service_files/meson.build (revision 1662ba6bec808437a7aeb3689c9ed185cabd5351)
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',
1070f36d8eSPotin Lai    'xyz.openbmc_project.State.Chassis@.service',
1179b45003SAllen.Wang    'xyz.openbmc_project.State.Host@.service',
12fe270d35SAndrew Geissler    'xyz.openbmc_project.State.Hypervisor.service',
13211d972dSPatrick Williams    'xyz.openbmc_project.State.ScheduledHostTransition@.service',
141e8b164fSAndrew Geissler    'phosphor-clear-one-time@.service',
151e8b164fSAndrew Geissler    'phosphor-set-host-transition-to-off@.service',
16378fe11dSAndrew Geissler    'phosphor-set-host-transition-to-running@.service',
17*1662ba6bSAndrew Geissler    'phosphor-chassis-check-power-status@.service',
18*1662ba6bSAndrew Geissler    'phosphor-bmc-security-check.service'
19179d38c2SAndrew Geissler]
20179d38c2SAndrew Geissler
21179d38c2SAndrew Geisslerforeach u : unit_files
22179d38c2SAndrew Geissler    configure_file(
23179d38c2SAndrew Geissler        copy: true,
24179d38c2SAndrew Geissler        input: u,
25179d38c2SAndrew Geissler        install: true,
26179d38c2SAndrew Geissler        install_dir: systemd_system_unit_dir,
27179d38c2SAndrew Geissler        output: u,
28179d38c2SAndrew Geissler        )
29179d38c2SAndrew Geisslerendforeach
30