blob: 63f340b3bed456f1a35b4258472cd903730a6d27 [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
Andrew Geissler191400b2017-05-26 17:40:03 -05005Wants=obmc-host-stop-pre@%i.target
6Before=obmc-host-stop-pre@%i.target
Josh D. Kinga283e072017-04-06 15:56:37 -05007Conflicts=obmc-host-start@%i.target
Brad Bishop3c90f592016-08-08 08:53:13 -04008
9[Service]
10Type=oneshot
11RemainAfterExit=yes
12ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop
13
14[Install]
Josh D. Kinga283e072017-04-06 15:56:37 -050015WantedBy=obmc-host-stop@%i.target