commit | c019e828345c908e9b422777ff206107c60e1cac | [log] [tgz] |
---|---|---|
author | Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> | Mon Apr 17 10:11:50 2023 +0800 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 07 12:01:31 2023 +0000 |
tree | 7c7de39aa08f3672edfb735d95af3bc92555f44a | |
parent | ad82d62bdfb9654c353df82b518d2bff1df42eab [diff] |
meta-facebook: greatlakes: support power policy Description: - Support power policy after power on and power cycle Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: Ie926dd49ee91b9c25f19a0e36e26bd0c86a95bc1
diff --git a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-powercycle@.service b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-powercycle@.service index a8a110e..b95bbf7 100644 --- a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-powercycle@.service +++ b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-powercycle@.service
@@ -4,6 +4,7 @@ [Service] Type=oneshot ExecStart=/usr/libexec/phosphor-state-manager/chassis-powercycle %i +ExecStartPost=/bin/systemctl restart phosphor-discover-system-state@%i.service [Install] WantedBy=obmc-chassis-powercycle@%i.target
diff --git a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-poweron@.service b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-poweron@.service index f706741..f147737 100644 --- a/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-poweron@.service +++ b/meta-facebook/recipes-phosphor/state/phosphor-state-manager/greatlakes/chassis-poweron@.service
@@ -4,6 +4,7 @@ [Service] Type=oneshot ExecStart=/usr/libexec/phosphor-state-manager/chassis-poweron %i +ExecStartPost=/bin/systemctl restart phosphor-discover-system-state@%i.service [Install] WantedBy=obmc-chassis-poweron@%i.target