diff options
author | Charles Boyer <Charles.Boyer@fii-usa.com> | 2022-04-20 21:16:54 +0300 |
---|---|---|
committer | Charles Boyer <Charles.Boyer@fii-usa.com> | 2022-04-22 22:35:48 +0300 |
commit | 8d82c259ef4e520823eb24e7f5278edce4ab3638 (patch) | |
tree | 2c95cedf42eb1a882b1c63ca31e69eceab51ef06 /meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service | |
parent | 4040b547479c78835c737674e8e051013eb4bd3c (diff) | |
download | openbmc-8d82c259ef4e520823eb24e7f5278edce4ab3638.tar.xz |
meta-fii: meta-kudo: Adopt multi-host support and host GPIO
Use GPIO instead of IPMI for host condition.
Adopt the multi-host support and syntax for phosphor-state-manager
services.
Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com>
Change-Id: I58ff4291ce3ec055579df5a2463c178e53d93625
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service new file mode 100644 index 0000000000..7868113954 --- /dev/null +++ b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Chassis@.service @@ -0,0 +1,19 @@ +[Unit] +Description=Phosphor Chassis%i State Manager +Before=mapper-wait@-xyz-openbmc_project-state-chassis%i.service +Wants=obmc-mapper.target +After=obmc-mapper.target +After=org.openbmc.control.Power@%i.service +Wants=xyz.openbmc_project.Logging.service +After=xyz.openbmc_project.Logging.service +After=host-powerctrl.service + +[Service] +ExecStartPre=/bin/sleep 5 +ExecStart=/usr/bin/phosphor-chassis-state-manager --chassis %i +Restart=always +Type=dbus +BusName=xyz.openbmc_project.State.Chassis%i + +[Install] +WantedBy=multi-user.target |