blob: 7178d93ab7c4a0baad613f40edaf7d9c55c37d82 [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
8
9[Service]
10Type=oneshot
11RemainAfterExit=yes
12ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog set i 30000
13ExecStart={sbindir}/mapper call /org/openbmc/watchdog/host%i org.openbmc.Watchdog start
14
15[Install]
16WantedBy=obmc-chassis-start@%i.target