blob: 76980524f5a3e86429759263efd9df51b732b101 [file] [log] [blame]
ThuBaNguyen7b452822021-06-06 14:36:07 +07001[Unit]
2Description=Check Host%i status before obmc-host-startmin
ThuBaNguyen7b452822021-06-06 14:36:07 +07003After=obmc-host-started@%i.target
Thang Q. Nguyend57a5fb2022-02-18 05:57:04 +00004After=obmc-power-start-pre@%i.target
ThuBaNguyen7b452822021-06-06 14:36:07 +07005Conflicts=obmc-host-stop@%i.target
6Conflicts=phosphor-reset-host-check@%i.service
7OnFailure=obmc-host-quiesce@%i.target
8OnFailureJobMode=flush
9ConditionPathExists=!/run/openbmc/host@%i-on
10
11[Service]
12Type=oneshot
Thang Q. Nguyend57a5fb2022-02-18 05:57:04 +000013ExecStart=/usr/sbin/ampere_host_check.sh