Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Stop Watchdog%i |
| 3 | Wants=mapper-wait@-org-openbmc-watchdog-host%i.service |
| 4 | After=mapper-wait@-org-openbmc-watchdog-host%i.service |
Andrew Geissler | 191400b | 2017-05-26 17:40:03 -0500 | [diff] [blame^] | 5 | Wants=obmc-host-stop-pre@%i.target |
| 6 | Before=obmc-host-stop-pre@%i.target |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 7 | Conflicts=obmc-host-start@%i.target |
Brad Bishop | 3c90f59 | 2016-08-08 08:53:13 -0400 | [diff] [blame] | 8 | |
| 9 | [Service] |
| 10 | Type=oneshot |
| 11 | RemainAfterExit=yes |
| 12 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop |
| 13 | |
| 14 | [Install] |
Josh D. King | a283e07 | 2017-04-06 15:56:37 -0500 | [diff] [blame] | 15 | WantedBy=obmc-host-stop@%i.target |