Vishwanatha Subbanna | d8b3f61 | 2017-07-03 19:21:18 +0530 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Start Watchdog%i |
| 3 | Wants=obmc-host-started@%i.target |
| 4 | After=obmc-host-started@%i.target |
| 5 | Wants=mapper-wait@-xyz-openbmc_project-watchdog-host%i.service |
| 6 | After=mapper-wait@-xyz-openbmc_project-watchdog-host%i.service |
| 7 | Conflicts=obmc-host-stop@%i.target |
Patrick Williams | 0ae1c02 | 2017-07-12 10:37:42 -0500 | [diff] [blame] | 8 | ConditionPathExists=!/run/openbmc/host@%i-on |
Vishwanatha Subbanna | d8b3f61 | 2017-07-03 19:21:18 +0530 | [diff] [blame] | 9 | |
| 10 | [Service] |
| 11 | Type=oneshot |
Michael Tritz | fbd81be | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 12 | ExecStart=/usr/bin/env mapper call /xyz/openbmc_project/watchdog/host%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.State.Watchdog Enabled b true |
| 13 | SyslogIdentifier=mapper |