blob: 2b086cf2cbb67585e5e28c6278edb12bc7b55dea [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Stop Watchdog%i
3Wants=mapper-wait@-org-openbmc-watchdog-host%i.service
4After=mapper-wait@-org-openbmc-watchdog-host%i.service
5Conflicts=obmc-chassis-start@%i.target
6
7[Service]
8Type=oneshot
9RemainAfterExit=yes
10ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop
11
12[Install]
13WantedBy=obmc-chassis-stop@%i.target