[Unit] | |
Description=Check Host%i status before obmc-host-startmin | |
Wants=obmc-host-started@%i.target | |
After=obmc-host-started@%i.target | |
Conflicts=obmc-host-stop@%i.target | |
Conflicts=phosphor-reset-host-check@%i.service | |
OnFailure=obmc-host-quiesce@%i.target | |
OnFailureJobMode=flush | |
ConditionPathExists=!/run/openbmc/host@%i-on | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/sbin/ampere_host_check.sh 1 0 |