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 |
| 8 | |
| 9 | [Service] |
| 10 | Type=oneshot |
| 11 | ExecStart={sbindir}/mapper call /xyz/openbmc_project/watchdog/host%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.State.Watchdog Enabled b true |