blob: 16a5ae45838dd07591249b9203076e27b6830524 [file] [log] [blame]
Matt Spinlera62a6552017-06-13 15:57:04 -05001[Unit]
Matthew Barthc358bce2020-05-12 14:08:30 -05002Description=Fan Watchdog Daemon
Matthew Barth1f005052019-09-20 09:56:35 -05003Wants=phosphor-fan-monitor-init@0.service
4Before=phosphor-fan-monitor-init@0.service
Matt Spinlera62a6552017-06-13 15:57:04 -05005Conflicts=obmc-fan-watchdog-takeover.target
6
7[Service]
Matthew Barthc358bce2020-05-12 14:08:30 -05008EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf
Matt Spinler71f04aa2022-01-14 21:51:02 +00009ExecStartPre=/bin/sh -c "echo V > ${{DEVICE}}"
Matt Spinlera62a6552017-06-13 15:57:04 -050010ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}}
11KillSignal=SIGKILL
12
13[Install]
Matt Spinler38681832017-10-06 14:17:15 -050014RequiredBy=obmc-chassis-poweron@0.target