diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service')
-rw-r--r-- | meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service new file mode 100644 index 000000000..3f941836d --- /dev/null +++ b/meta-ibm/recipes-phosphor/fans/fan-watchdog/fan-watchdog.service @@ -0,0 +1,13 @@ +[Unit] +Description=Fan Watchdog Daemon +Wants=phosphor-fan-monitor-init@0.service +Before=phosphor-fan-monitor-init@0.service +Conflicts=obmc-fan-watchdog-takeover.target + +[Service] +EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf +ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}} +KillSignal=SIGKILL + +[Install] +RequiredBy=obmc-chassis-poweron@0.target |