Fix host reset on double poweron command

Before this commit, if 'obmcutil poweron' was issued twice,
it would result it host reset because a watchdog service
would have been started but not signalled by the host
to stop upon successful startup.

This commit makes the watchdog service persistent so that
it doesn't start for the second time.

If the BMC is rebooted while the host is powered on, and thus
the watchdog service is terminated, that is covered by an
already existing condition check for the watchdog service.

Resolves openbmc/openbmc#2811

Change-Id: I11212f2a08fc102afee2641c403c50158aae876c
Signed-off-by: Alexander Soldatov <a.soldatov@yadro.com>
Signed-off-by: Alexander Amelkin <a.amelkin@yadro.com>
diff --git a/common/recipes-phosphor/watchdog/phosphor-watchdog/obmc-enable-host-watchdog@.service b/common/recipes-phosphor/watchdog/phosphor-watchdog/obmc-enable-host-watchdog@.service
index 7bfc2d0..b3d8d4f 100644
--- a/common/recipes-phosphor/watchdog/phosphor-watchdog/obmc-enable-host-watchdog@.service
+++ b/common/recipes-phosphor/watchdog/phosphor-watchdog/obmc-enable-host-watchdog@.service
@@ -11,3 +11,4 @@
 Type=oneshot
 ExecStart=/usr/bin/env mapper call /xyz/openbmc_project/watchdog/host%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.State.Watchdog Enabled b true
 SyslogIdentifier=mapper
+RemainAfterExit=yes