blob: 16a5ae45838dd07591249b9203076e27b6830524 [file] [log] [blame]
[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
ExecStartPre=/bin/sh -c "echo V > ${{DEVICE}}"
ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}}
KillSignal=SIGKILL
[Install]
RequiredBy=obmc-chassis-poweron@0.target