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