blob: 27479f2defec2a81bb1beeb1606b7c3a0fe35caf [file] [log] [blame]
Description=Reboot host%i
#ExecStart={base_bindir}/systemctl start
# This service is starting another target that conflicts with the
# target this service is running in. OpenBMC needs a refactor of
# how it does its host reset path. Until then, this short term
# solution does the job.
# Since this is a part of the reboot target, call the startmin
# target which does the minimum required to start the host.
ExecStart=/bin/sh -c "sleep ${{REBOOT_DELAY}} && systemctl start"