summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2021-07-28 05:47:49 +0300
committerGeorge Hung <george.hung@quantatw.com>2021-07-28 07:28:58 +0300
commit97466ae307a67c30d592c9d97a1e9d6e458e0e5b (patch)
tree0e36f7a4b536bf93af859067b11ad700039c0ca1 /meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service
parenta45ae58b04b0c7cc70c9cc058ec3b2125c0aae36 (diff)
downloadopenbmc-97466ae307a67c30d592c9d97a1e9d6e458e0e5b.tar.xz
meta-quanta: gbs: update the related states D-bus service name
Since x86-power-control add multi-node support, the all related states D-bus service name add the node instance additionally Thus, update the Chassis/Host/RestartCause D-bus service name for all related scripts/services Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If6ba080ff8757e01e230ee7d636e293922cdc127
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service')
-rw-r--r--meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service b/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service
index 9b8b0d691..6c3592f88 100644
--- a/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service
+++ b/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-powercycle.service
@@ -4,6 +4,6 @@ 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.PowerCycle
-ExecStart=busctl set-property xyz.openbmc_project.Control.Host.RestartCause /xyz/openbmc_project/control/host0/restart_cause xyz.openbmc_project.Control.Host.RestartCause RequestedRestartCause s xyz.openbmc_project.State.Host.RestartCause.WatchdogTimer
+ExecStart=busctl set-property xyz.openbmc_project.State.Chassis0 /xyz/openbmc_project/state/chassis0 xyz.openbmc_project.State.Chassis RequestedPowerTransition s xyz.openbmc_project.State.Chassis.Transition.PowerCycle
+ExecStart=busctl set-property xyz.openbmc_project.Control.Host.RestartCause0 /xyz/openbmc_project/control/host0/restart_cause xyz.openbmc_project.Control.Host.RestartCause RequestedRestartCause s xyz.openbmc_project.State.Host.RestartCause.WatchdogTimer
SyslogIdentifier=phosphor-watchdog