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 | ||||
5 | Conflicts=obmc-chassis-start@%i.target | ||||
6 | |||||
7 | [Service] | ||||
8 | Type=oneshot | ||||
9 | RemainAfterExit=yes | ||||
10 | ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy=obmc-chassis-stop@%i.target |