summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/host
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2019-05-24 08:51:04 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-06-22 01:08:12 +0300
commit81172cc41a632513ddd4900c89836929a94e352a (patch)
treee7496224d999a20d40569ca0eb1ec52512f16635 /meta-openpower/recipes-phosphor/host
parent9e7a5d49e875c2ec119f9f7add278ccb58f36278 (diff)
downloadopenbmc-81172cc41a632513ddd4900c89836929a94e352a.tar.xz
Set RemainAfterExit for hostboot-settings service
The service hostboot-settings is required by multi-user.target and thus will be started by default. In case multi-user.target is started for multiple times, this service will be startd for multiple times as well, and eventually get start-limit-hit failure. This commit adds RemainAfterExit=true so the service will be treated as started and thus will not be started for multiple times. Resolves openbmc/openbmc#3544 Tested: Reboot Romulus BMC when the host is on, and verify the BMC gets READY state after reboot, and verify the service is only started once. (From meta-openpower rev: c55b7debc67b1cf863b6c171334015c0731613eb) Change-Id: Ia253f7d2e038a2a2072f602115a613d86fa2d25a Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-openpower/recipes-phosphor/host')
-rw-r--r--meta-openpower/recipes-phosphor/host/hostboot-settings/hostboot-settings.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openpower/recipes-phosphor/host/hostboot-settings/hostboot-settings.service b/meta-openpower/recipes-phosphor/host/hostboot-settings/hostboot-settings.service
index fbd4c06cd..9ce81d79b 100644
--- a/meta-openpower/recipes-phosphor/host/hostboot-settings/hostboot-settings.service
+++ b/meta-openpower/recipes-phosphor/host/hostboot-settings/hostboot-settings.service
@@ -3,6 +3,7 @@ Description=Hostboot Boot Settings
[Service]
Type=oneshot
+RemainAfterExit=true
ExecStart=/usr/bin/hb_settings --uart vuart
[Install]