blob: 2b086cf2cbb67585e5e28c6278edb12bc7b55dea [file] [log] [blame]
[Unit]
Description=Stop Watchdog%i
Wants=mapper-wait@-org-openbmc-watchdog-host%i.service
After=mapper-wait@-org-openbmc-watchdog-host%i.service
Conflicts=obmc-chassis-start@%i.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop
[Install]
WantedBy=obmc-chassis-stop@%i.target