blob: aa12be32581d2c5bfea5768c6b4a0e7204a00040 [file] [log] [blame]
Sergey Solomin63248b42016-11-14 10:01:10 -06001[Unit]
Matt Spinleraca1b152017-03-10 15:08:56 -06002Description=Start host%i SBE
Andrew Geissler5ef7ef32021-01-12 14:01:52 -06003Wants=obmc-host-start-pre@%i.target
Xo Wang4085d322016-12-15 13:59:06 -08004After=obmc-host-start-pre@%i.target
Josh D. Kingefb04a12017-04-06 15:56:37 -05005Wants=obmc-host-starting@%i.target
6Before=obmc-host-starting@%i.target
Xo Wang4085d322016-12-15 13:59:06 -08007Before=obmc-host-started@%i.target
8Wants=obmc-power-on@%i.target
9After=obmc-power-on@%i.target
Josh D. Kingefb04a12017-04-06 15:56:37 -050010Conflicts=obmc-host-stop@%i.target
Andrew Geisslerd3640142017-03-22 15:03:08 -050011ConditionPathExists=!/run/openbmc/host@%i-on
Dhruvaraj Subhashchandranc8aa6a12020-03-09 13:04:32 -050012ConditionPathExists=!/run/openbmc/mpreboot@%i
Sergey Solomin63248b42016-11-14 10:01:10 -060013
14[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050015ExecStart=/usr/bin/env openpower-proc-control startHost
16SyslogIdentifier=openpower-proc-control
Sergey Solomin63248b42016-11-14 10:01:10 -060017Type=oneshot
18RemainAfterExit=yes
19
20[Install]
Josh D. Kingefb04a12017-04-06 15:56:37 -050021WantedBy=obmc-host-start@%i.target