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