1*c212353dSAndrew Geissler[Unit] 2*c212353dSAndrew GeisslerDescription=Reboot host%i 3*c212353dSAndrew GeisslerWants=obmc-host-stop@%i.target 4*c212353dSAndrew GeisslerAfter=obmc-host-stop@%i.target 5*c212353dSAndrew Geissler 6*c212353dSAndrew Geissler[Service] 7*c212353dSAndrew Geissler#ExecStart=/bin/systemctl start obmc-host-start@%i.target 8*c212353dSAndrew Geissler# This service is starting another target that conflicts with the 9*c212353dSAndrew Geissler# target this service is running in. OpenBMC needs a refactor of 10*c212353dSAndrew Geissler# how it does its host reset path. Until then, this short term 11*c212353dSAndrew Geissler# solution does the job. 12*c212353dSAndrew Geissler# Since this is a part of the reboot target, call the startmin 13*c212353dSAndrew Geissler# target which does the minimum required to start the host. 14*c212353dSAndrew GeisslerExecStart=/bin/sh -c "sleep 5 && systemctl start obmc-host-startmin@%i.target" 15*c212353dSAndrew Geissler 16*c212353dSAndrew Geissler[Install] 17*c212353dSAndrew GeisslerWantedBy=obmc-host-reboot@%i.target 18