summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service')
-rw-r--r--meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service
new file mode 100644
index 000000000..945561b50
--- /dev/null
+++ b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog-monitor@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Fan Watchdog Failure Monitor
+
+#This can get called every time a process dies, so ensure it's never limited
+StartLimitIntervalSec=0
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/env phosphor-unit-failure-monitor --source %i --target obmc-fan-watchdog-takeover.target --action start
+SyslogIdentifier=phosphor-unit-failure-monitor