xref: /openbmc/openpower-proc-control/service_files/op-reset-host-check@.service.in (revision 915b38feb5e5793d7555f3060581077e266ba3d6)
1[Unit]
2Description=Check Host%i status on BMC reset via CFAM reg
3Wants=mapper-wait@-xyz-openbmc_project-state-host%i.service
4After=mapper-wait@-xyz-openbmc_project-state-host%i.service
5Wants=mapper-wait@-xyz-openbmc_project-logging.service
6After=mapper-wait@-xyz-openbmc_project-logging.service
7Wants=obmc-host-reset-running@%i.target
8Before=obmc-host-reset-running@%i.target
9Wants=phosphor-reset-chassis-on@%i.service
10After=phosphor-reset-chassis-on@%i.service
11After=openpower-update-bios-attr-table.service
12Conflicts=obmc-host-stop@%i.target
13ConditionPathExists=/run/openbmc/chassis@%i-on
14ConditionPathExists=!/run/openbmc/host@%i-on
15
16[Service]
17RemainAfterExit=yes
18Type=oneshot
19ExecStart=/usr/bin/openpower-proc-control checkHostRunning
20
21[Install]
22#WantedBy=obmc-host-reset@%i.target
23