blob: e3c87397dc0c281a5638583a27874e88c8c35626 [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
ThuBaNguyen7b452822021-06-06 14:36:07 +07009
10[Service]
11Type=oneshot
Thang Q. Nguyend57a5fb2022-02-18 05:57:04 +000012ExecStart=/usr/sbin/ampere_host_check.sh