blob: 3f941836d819945c569c89192fa09496e1e35197 [file] [log] [blame]
Matt Spinler796f28d2017-06-13 15:57:04 -05001[Unit]
Matthew Barth80f819e2020-05-12 14:08:30 -05002Description=Fan Watchdog Daemon
Matthew Barthf59761e2019-09-20 09:56:35 -05003Wants=phosphor-fan-monitor-init@0.service
4Before=phosphor-fan-monitor-init@0.service
Matt Spinler796f28d2017-06-13 15:57:04 -05005Conflicts=obmc-fan-watchdog-takeover.target
6
7[Service]
Matthew Barth80f819e2020-05-12 14:08:30 -05008EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf
Matt Spinler796f28d2017-06-13 15:57:04 -05009ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}}
10KillSignal=SIGKILL
11
12[Install]
Matt Spinler6eed2ea2017-10-06 14:17:15 -050013RequiredBy=obmc-chassis-poweron@0.target