summaryrefslogtreecommitdiff
path: root/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service
diff options
context:
space:
mode:
authorMike Garrett <mike.garrett@hpe.com>2021-08-28 00:59:09 +0300
committerMike Garrett <mike.garrett@hpe.com>2021-09-07 21:35:05 +0300
commitc088ff2d4619f46a5d200d90e79f094be3b8bc09 (patch)
treecab7d23d61d188c05422b03ce459c82120416e4f /meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service
parent2a61651573dd5081be3c1d4c2424f3190829d615 (diff)
downloadopenbmc-c088ff2d4619f46a5d200d90e79f094be3b8bc09.tar.xz
meta-hpe: Fix host-boot enable override function
Code restructured to make the DL360poc the override case Signed-off-by: Mike Garrett <mike.garrett@hpe.com> Change-Id: I615e040a3329d1af7f8861d751794be5f4a31836
Diffstat (limited to 'meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service')
-rw-r--r--meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service b/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service
new file mode 100644
index 0000000000..58f8c5d251
--- /dev/null
+++ b/meta-hpe/meta-common/recipes-hpe/host/host-boot-enable/host-boot-enable.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Enable Host Boot
+Wants=phosphor-ipmi-host.service
+After=phosphor-ipmi-host.service
+
+[Service]
+Type=simple
+ExecStart=/bin/sh -c "host-boot-enable.sh"
+SyslogIdentifier=host-boot-enable
+Restart=always
+RestartSec=5
+StartLimitInterval=0
+
+[Install]
+WantedBy=multi-user.target