blob: 36e5a642ca4aa71414106c6e863bcbd74d37766e [file] [log] [blame]
[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