blob: bba0dc046765f372fa19b3729f2527cfe0289cc4 [file] [log] [blame]
Potin Lai2f800ca2022-10-21 19:19:25 +08001[Unit]
2Description=Bletchley host state monitoring
3Wants=mapper-wait@-xyz-openbmc_project-state-chassis1.service
4After=mapper-wait@-xyz-openbmc_project-state-chassis1.service
5Wants=mapper-wait@-xyz-openbmc_project-state-chassis2.service
6After=mapper-wait@-xyz-openbmc_project-state-chassis2.service
7Wants=mapper-wait@-xyz-openbmc_project-state-chassis3.service
8After=mapper-wait@-xyz-openbmc_project-state-chassis3.service
9Wants=mapper-wait@-xyz-openbmc_project-state-chassis4.service
10After=mapper-wait@-xyz-openbmc_project-state-chassis4.service
11Wants=mapper-wait@-xyz-openbmc_project-state-chassis5.service
12After=mapper-wait@-xyz-openbmc_project-state-chassis5.service
13Wants=mapper-wait@-xyz-openbmc_project-state-chassis6.service
14After=mapper-wait@-xyz-openbmc_project-state-chassis6.service
15Wants=mapper-wait@-xyz-openbmc_project-state-host1.service
16After=mapper-wait@-xyz-openbmc_project-state-host1.service
17Wants=mapper-wait@-xyz-openbmc_project-state-host2.service
18After=mapper-wait@-xyz-openbmc_project-state-host2.service
19Wants=mapper-wait@-xyz-openbmc_project-state-host3.service
20After=mapper-wait@-xyz-openbmc_project-state-host3.service
21Wants=mapper-wait@-xyz-openbmc_project-state-host4.service
22After=mapper-wait@-xyz-openbmc_project-state-host4.service
23Wants=mapper-wait@-xyz-openbmc_project-state-host5.service
24After=mapper-wait@-xyz-openbmc_project-state-host5.service
25Wants=mapper-wait@-xyz-openbmc_project-state-host6.service
26After=mapper-wait@-xyz-openbmc_project-state-host6.service
27Wants=mapper-wait@-xyz-openbmc_project-state-host6.service
28After=mapper-wait@-xyz-openbmc_project-state-host6.service
29Wants=mapper-wait@-xyz-openbmc_project-control-host1-acpi_power_state.service
30After=mapper-wait@-xyz-openbmc_project-control-host1-acpi_power_state.service
31Wants=mapper-wait@-xyz-openbmc_project-control-host2-acpi_power_state.service
32After=mapper-wait@-xyz-openbmc_project-control-host2-acpi_power_state.service
33Wants=mapper-wait@-xyz-openbmc_project-control-host3-acpi_power_state.service
34After=mapper-wait@-xyz-openbmc_project-control-host3-acpi_power_state.service
35Wants=mapper-wait@-xyz-openbmc_project-control-host4-acpi_power_state.service
36After=mapper-wait@-xyz-openbmc_project-control-host4-acpi_power_state.service
37Wants=mapper-wait@-xyz-openbmc_project-control-host5-acpi_power_state.service
38After=mapper-wait@-xyz-openbmc_project-control-host5-acpi_power_state.service
39Wants=mapper-wait@-xyz-openbmc_project-control-host6-acpi_power_state.service
40After=mapper-wait@-xyz-openbmc_project-control-host6-acpi_power_state.service
41
42[Service]
43ExecStart=/usr/libexec/bletchley-host-state-monitor
44SyslogIdentifier=bletchley-host-state-monitor
45Type=simple
46Restart=on-failure
47RestartSec=1
48
49[Install]
50WantedBy=multi-user.target