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 |
Andrew Geissler | de07315 | 2017-03-22 15:03:08 -0500 | [diff] [blame] | 8 | ConditionPathExists=!/run/openbmc/host@%i-on |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 9 | |
| 10 | [Service] |
| 11 | Type=oneshot |
| 12 | RemainAfterExit=yes |
| 13 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog set i 30000 |
| 14 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog start |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=obmc-chassis-start@%i.target |