blob: d28bfe8394cf5766405205ef362a0220404857d4 [file] [log] [blame]
Brad Bishop3c90f592016-08-08 08:53:13 -04001[Unit]
2Description=Start Watchdog%i
3Wants=obmc-host-started@%i.target
4After=obmc-host-started@%i.target
5Wants=mapper-wait@-org-openbmc-watchdog-host%i.service
6After=mapper-wait@-org-openbmc-watchdog-host%i.service
7Conflicts=obmc-chassis-stop@%i.target
Andrew Geisslerde073152017-03-22 15:03:08 -05008ConditionPathExists=!/run/openbmc/host@%i-on
Brad Bishop3c90f592016-08-08 08:53:13 -04009
10[Service]
11Type=oneshot
12RemainAfterExit=yes
13ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog set i 30000
14ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog start
15
16[Install]
17WantedBy=obmc-chassis-start@%i.target