[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 |