Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [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@-org-openbmc-watchdog-host%i.service |
| 6 | After=mapper-wait@-org-openbmc-watchdog-host%i.service |
| 7 | Conflicts=obmc-chassis-stop@%i.target |
| 8 | |
| 9 | [Service] |
| 10 | Type=oneshot |
| 11 | RemainAfterExit=yes |
| 12 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog set i 30000 |
| 13 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog start |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=obmc-chassis-start@%i.target |