blob: a921fc3165632a983241ac0fbb9690f92ee76020 [file] [log] [blame]
Vishwanatha Subbannad8b3f612017-07-03 19:21:18 +05301[Unit]
2Description=Start Watchdog%i
3Wants=obmc-host-started@%i.target
4After=obmc-host-started@%i.target
5Wants=mapper-wait@-xyz-openbmc_project-watchdog-host%i.service
6After=mapper-wait@-xyz-openbmc_project-watchdog-host%i.service
7Conflicts=obmc-host-stop@%i.target
Patrick Williams0ae1c022017-07-12 10:37:42 -05008ConditionPathExists=!/run/openbmc/host@%i-on
Vishwanatha Subbannad8b3f612017-07-03 19:21:18 +05309
10[Service]
11Type=oneshot
12ExecStart={sbindir}/mapper call /xyz/openbmc_project/watchdog/host%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.State.Watchdog Enabled b true