blob: bd9db809bfed91b48fc73550e30219e17ae444de [file] [log] [blame]
Sergey Solomin5e21d732016-11-11 13:08:28 -06001[Unit]
Xo Wang4085d322016-12-15 13:59:06 -08002Description=Run VCS workaround on host%i
3Wants=obmc-host-start-pre@%i.target
4Before=obmc-host-start-pre@%i.target
Sergey Solomin5e21d732016-11-11 13:08:28 -06005Wants=obmc-power-on@%i.target
6After=obmc-power-on@%i.target
Matt Spinlerd6082202017-09-18 15:40:44 -05007Wants=fsi-scan@%i.service
8After=fsi-scan@%i.service
Josh D. Kingb9ee5362017-04-06 14:43:46 -05009Conflicts=obmc-chassis-poweroff@%i.target
Andrew Geisslerb8c47702017-03-02 16:25:43 -060010ConditionPathExists=!/run/openbmc/chassis@%i-on
Sergey Solomin5e21d732016-11-11 13:08:28 -060011
12[Service]
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050013ExecStart=/usr/bin/env openpower-proc-control vcsWorkaround
14SyslogIdentifier=openpower-proc-control
Sergey Solomin5e21d732016-11-11 13:08:28 -060015Type=oneshot
16RemainAfterExit=yes
17
18[Install]
Josh D. Kingb9ee5362017-04-06 14:43:46 -050019WantedBy=obmc-chassis-poweron@%i.target