summaryrefslogtreecommitdiffstats
path: root/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service')
-rw-r--r--meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service b/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service
new file mode 100644
index 000000000..bd9db809b
--- /dev/null
+++ b/meta-openpower/common/recipes-phosphor/host/op-host-control/vcs_workaround@.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Run VCS workaround on host%i
+Wants=obmc-host-start-pre@%i.target
+Before=obmc-host-start-pre@%i.target
+Wants=obmc-power-on@%i.target
+After=obmc-power-on@%i.target
+Wants=fsi-scan@%i.service
+After=fsi-scan@%i.service
+Conflicts=obmc-chassis-poweroff@%i.target
+ConditionPathExists=!/run/openbmc/chassis@%i-on
+
+[Service]
+ExecStart=/usr/bin/env openpower-proc-control vcsWorkaround
+SyslogIdentifier=openpower-proc-control
+Type=oneshot
+RemainAfterExit=yes
+
+[Install]
+WantedBy=obmc-chassis-poweron@%i.target
OpenPOWER on IntegriCloud