blob: 6a8eb033c48f37548046c57188a3dde739405d5c [file] [log] [blame]
Andrei Kartashev4d073232021-12-15 15:34:44 +03001[Unit]
2Description=Power Cycle Host Server
3After=xyz.openbmc_project.Chassis.Power.service
4
5[Service]
6ExecStart=/usr/bin/busctl set-property \
7 xyz.openbmc_project.State.Chassis \
8 /xyz/openbmc_project/state/chassis0 \
9 xyz.openbmc_project.State.Chassis \
10 RequestedPowerTransition s \
11 xyz.openbmc_project.State.Chassis.Transition.PowerCycle
12
13ExecStart=/usr/bin/busctl set-property \
14 xyz.openbmc_project.Control.Host.RestartCause \
15 /xyz/openbmc_project/control/host0/restart_cause \
16 xyz.openbmc_project.Control.Host.RestartCause \
17 RequestedRestartCause s \
18 xyz.openbmc_project.State.Host.RestartCause.WatchdogTimer
19
20Type=oneshot
21SyslogIdentifier=phosphor-watchdog