1c4d7953fSGeorge Hung[Unit]
2c4d7953fSGeorge HungDescription=Phosphor Watchdog
3c4d7953fSGeorge Hung
4c4d7953fSGeorge Hung[Service]
5c4d7953fSGeorge HungEnvironmentFile={envfiledir}/obmc/watchdog/%I
6c4d7953fSGeorge HungExecStart=/usr/bin/env phosphor-watchdog --service=${{SERVICE}} --path=${{DEVPATH}} \
7*be36ed1cSBrandon Kim  --continue --fallback_always --min_interval=${{MIN_INTERVAL}} \
8*be36ed1cSBrandon Kim  --fallback_action=${{FALLBACK_ACTION}} --fallback_interval=${{FALLBACK_INTERVAL}} \
9c4d7953fSGeorge Hung  --action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=${{UNIT_HARD_RESET}} \
10c4d7953fSGeorge Hung  --action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=${{UNIT_POWER_OFF}} \
11c4d7953fSGeorge Hung  --action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=${{UNIT_POWER_CYCLE}}
12c4d7953fSGeorge HungSyslogIdentifier=phosphor-watchdog
13c4d7953fSGeorge HungBusName=xyz.openbmc_project.Watchdog
14c4d7953fSGeorge HungType=dbus
15c4d7953fSGeorge Hung
16c4d7953fSGeorge Hung[Install]
17c4d7953fSGeorge HungWantedBy=basic.target
18