ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Check Host%i status before obmc-host-startmin |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 3 | After=obmc-host-started@%i.target |
Thang Q. Nguyen | d57a5fb | 2022-02-18 05:57:04 +0000 | [diff] [blame] | 4 | After=obmc-power-start-pre@%i.target |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 5 | Conflicts=obmc-host-stop@%i.target |
| 6 | Conflicts=phosphor-reset-host-check@%i.service |
| 7 | OnFailure=obmc-host-quiesce@%i.target |
Thu Nguyen | 6c188d6 | 2022-08-29 09:46:09 +0700 | [diff] [blame] | 8 | OnSuccess=obmc-host-already-on@%i.target |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 9 | OnFailureJobMode=flush |
ThuBaNguyen | 7b45282 | 2021-06-06 14:36:07 +0700 | [diff] [blame] | 10 | |
| 11 | [Service] |
| 12 | Type=oneshot |
Thang Q. Nguyen | d57a5fb | 2022-02-18 05:57:04 +0000 | [diff] [blame] | 13 | ExecStart=/usr/sbin/ampere_host_check.sh |