From 81172cc41a632513ddd4900c89836929a94e352a Mon Sep 17 00:00:00 2001 From: Lei YU Date: Fri, 24 May 2019 13:51:04 +0800 Subject: 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 Signed-off-by: Brad Bishop --- .../recipes-phosphor/host/hostboot-settings/hostboot-settings.service | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-openpower/recipes-phosphor/host') 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] -- cgit v1.2.3