diff options
author | Rajaganesh Rathinasabapathi <Rajaganesh.Rathinasabapathi@amd.com> | 2024-05-17 10:45:14 +0300 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@gmail.com> | 2024-05-21 17:53:34 +0300 |
commit | 372e564237fb8b133026fb86865eda05d7ef37ab (patch) | |
tree | 8565d52f4c01ed4d10af7a38c49d9195de89c2fa /meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service | |
parent | 3594786faf5e2efdfed9902ec00ac558710da2c8 (diff) | |
download | openbmc-372e564237fb8b133026fb86865eda05d7ef37ab.tar.xz |
meta-amd: Add IPMI watchdog support
Added IPMI watchdog service to AMD platforms.
Change-Id: I7da12dd45eaaa5b9c92c9876cdca7cabc1f79d33
Signed-off-by: Rajaganesh Rathinasabapathi <Rajaganesh.Rathinasabapathi@amd.com>
Diffstat (limited to 'meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service')
-rw-r--r-- | meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service b/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service new file mode 100644 index 0000000000..3c87131716 --- /dev/null +++ b/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-watchdog-host-poweroff.service @@ -0,0 +1,9 @@ +[Unit] +Description=Shutdown Host Server +Requires=xyz.openbmc_project.Chassis.Control.Power.service +After=xyz.openbmc_project.Chassis.Control.Power.service + +[Service] +Type=oneshot +ExecStart=busctl set-property xyz.openbmc_project.State.Chassis /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s xyz.openbmc_project.State.Chassis.Transition.Off +SyslogIdentifier=phosphor-watchdog |