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