blob: 825275ae752a25d82e84d3a70fb848eeb2b6b01c [file] [log] [blame]
Sergey Solomin63248b42016-11-14 10:01:10 -06001[Unit]
Matt Spinleraca1b152017-03-10 15:08:56 -06002Description=Start host%i SBE
Xo Wang4085d322016-12-15 13:59:06 -08003After=obmc-host-start-pre@%i.target
Josh D. Kingefb04a12017-04-06 15:56:37 -05004Wants=obmc-host-starting@%i.target
5Before=obmc-host-starting@%i.target
Xo Wang4085d322016-12-15 13:59:06 -08006Before=obmc-host-started@%i.target
7Wants=obmc-power-on@%i.target
8After=obmc-power-on@%i.target
Josh D. Kingefb04a12017-04-06 15:56:37 -05009Conflicts=obmc-host-stop@%i.target
Andrew Geisslerd3640142017-03-22 15:03:08 -050010ConditionPathExists=!/run/openbmc/host@%i-on
Dhruvaraj Subhashchandranc8aa6a12020-03-09 13:04:32 -050011ConditionPathExists=!/run/openbmc/mpreboot@%i
Sergey Solomin63248b42016-11-14 10:01:10 -060012
13[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050014ExecStart=/usr/bin/env openpower-proc-control startHost
15SyslogIdentifier=openpower-proc-control
Sergey Solomin63248b42016-11-14 10:01:10 -060016Type=oneshot
17RemainAfterExit=yes
18
19[Install]
Josh D. Kingefb04a12017-04-06 15:56:37 -050020WantedBy=obmc-host-start@%i.target