blob: a74293ff8ec615d414e1bd03a3b3c001e9a6bab2 [file] [log] [blame]
Matt Spinler17de1eb2017-06-06 09:40:45 -05001SUMMARY = "Witherspoon fan watchdog services"
2PR = "r1"
3
4inherit obmc-phosphor-license
5inherit obmc-phosphor-systemd
6
7RDEPENDS_${PN} += "phosphor-gpio-monitor"
8
9RESET_SERVICE = "witherspoon-reset-fan-watchdog.service"
10TGTFMT = "obmc-chassis-poweron@0.target"
11RESET_FMT = "../${RESET_SERVICE}:${TGTFMT}.requires/${RESET_SERVICE}"
12
Matt Spinler9bce4f82017-06-08 12:46:22 -050013MONITOR_SERVICE = "witherspoon-fan-watchdog-monitor@.service"
14
15SYSTEMD_SERVICE_${PN} += "${RESET_SERVICE} ${MONITOR_SERVICE}"
Matt Spinler17de1eb2017-06-06 09:40:45 -050016SYSTEMD_LINK_${PN} += "${RESET_FMT}"
17SYSTEMD_ENVIRONMENT_FILE_${PN} += "obmc/witherspoon-fan-watchdog/witherspoon-reset-fan-watchdog.conf"