blob: 63f340b3bed456f1a35b4258472cd903730a6d27 [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
Wants=obmc-host-stop-pre@%i.target
Before=obmc-host-stop-pre@%i.target
Conflicts=obmc-host-start@%i.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog stop
[Install]
WantedBy=obmc-host-stop@%i.target