diff options
author | Yang Chen <yang.chen@quantatw.com> | 2024-04-18 17:31:59 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2024-04-20 00:06:20 +0300 |
commit | 9101a902bfc1290c43df6e57ccfda4025c8981c0 (patch) | |
tree | 45348ccca4561901088d263026fa7c71b4bfe8ae /meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service | |
parent | d60b987c45bd8b3a7ce16e2c2795a8d740cf9248 (diff) | |
download | openbmc-9101a902bfc1290c43df6e57ccfda4025c8981c0.tar.xz |
meta-facebook: minerva: enable chassis power cycle
Because CMM is without any host, we use the "Chassis" of the phosphor-state-manager which the chassis0 to indicate the "CMM sled power cycle" to control the CMM board only and the chassis1 to indicate the "CMM chassis power cycle" to control the entire system including CMM, compute, and network blades.
Change-Id: I17cf0f3e711b35da2d264e1f2fcb2f44d7af26d0
Signed-off-by: Yang Chen <yang.chen@quantatw.com>
Diffstat (limited to 'meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service')
-rw-r--r-- | meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service b/meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service new file mode 100644 index 0000000000..a8fa1e259c --- /dev/null +++ b/meta-facebook/meta-minerva/recipes-phosphor/state/phosphor-state-manager/chassis-powercycle@.service @@ -0,0 +1,9 @@ +[Unit] +Description=Chassis%i Power Cycle + +[Service] +Type=oneshot +ExecStart=/usr/libexec/phosphor-state-manager/chassis-powercycle %i + +[Install] +WantedBy=obmc-chassis-powercycle@%i.target |