blob: 77a88e864af2d3f37987c5d7fa3488e738bc7a51 [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
Sergey Solomin63248b42016-11-14 10:01:10 -060011
12[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050013ExecStart=/usr/bin/env openpower-proc-control startHost
14SyslogIdentifier=openpower-proc-control
Sergey Solomin63248b42016-11-14 10:01:10 -060015Type=oneshot
16RemainAfterExit=yes
17
18[Install]
Josh D. Kingefb04a12017-04-06 15:56:37 -050019WantedBy=obmc-host-start@%i.target