1c212353dSAndrew Geissler[Unit] 2c212353dSAndrew GeisslerDescription=Reboot host%i 3c212353dSAndrew GeisslerWants=obmc-host-stop@%i.target 4c212353dSAndrew GeisslerAfter=obmc-host-stop@%i.target 579aa01aeSAndrew GeisslerWants=obmc-host-stopped@%i.target 679aa01aeSAndrew GeisslerAfter=obmc-host-stopped@%i.target 7c212353dSAndrew Geissler 8c212353dSAndrew Geissler[Service] 9128ea8e3SAndrew Geissler# This service is running a script that is starting another target that 10128ea8e3SAndrew Geissler# conflicts with the target this service is running in. OpenBMC needs a 11128ea8e3SAndrew Geissler# refactor of how it does its host reset path. Until then, this short term 12c212353dSAndrew Geissler# solution does the job. 13c212353dSAndrew Geissler# Since this is a part of the reboot target, call the startmin 14128ea8e3SAndrew Geissler# target which does the minimum required to start the host if the reboot count 15128ea8e3SAndrew Geissler# is not 0, otherwise it will quiesce the host. 16*306c5ff2SPatrick WilliamsExecStart=/usr/libexec/phosphor-state-manager/host-reboot %i 17c212353dSAndrew Geissler 18c212353dSAndrew Geissler[Install] 19c212353dSAndrew GeisslerWantedBy=obmc-host-reboot@%i.target 20