blob: bfe8dbe5e5884c0749ce0794b6a1eab36747bef0 [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]
Matt Spinler707c38c2022-04-07 16:23:47 -050015ExecStart=/usr/bin/openpower-proc-control startHost
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