summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/phosphor-host-watchdog-poweroff.service
blob: af7e6ef0da548dd1e5b79b8379879fef6018a86f (plain)
1
2
3
4
5
6
7
8
[Unit]
Description=Shutdown Host Server
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