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.Host@.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.Host@.service')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Host@.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.Host@.service b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Host@.service new file mode 100644 index 0000000000..c1a233023e --- /dev/null +++ b/meta-fii/meta-kudo/recipes-phosphor/state/phosphor-state-manager/xyz.openbmc_project.State.Host@.service @@ -0,0 +1,19 @@ +[Unit] +Description=Phosphor Host%i State Manager +Wants=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service +After=mapper-wait@-xyz-openbmc_project-control-host%i-auto_reboot.service +Wants=mapper-wait@-xyz-openbmc_project-state-chassis%i.service +After=mapper-wait@-xyz-openbmc_project-state-chassis%i.service +Wants=obmc-mapper.target +After=obmc-mapper.target +After=phosphor-ipmi-host.service +Before=obmc-host-reset@%i.target + +[Service] +ExecStart=/usr/bin/phosphor-host-state-manager --host %i +Restart=always +Type=dbus +BusName=xyz.openbmc_project.State.Host%i + +[Install] +WantedBy=multi-user.target |