Matt Spinler | 796f28d | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 1 | [Unit] |
Matthew Barth | 80f819e | 2020-05-12 14:08:30 -0500 | [diff] [blame] | 2 | Description=Fan Watchdog Daemon |
Matthew Barth | f59761e | 2019-09-20 09:56:35 -0500 | [diff] [blame] | 3 | Wants=phosphor-fan-monitor-init@0.service |
| 4 | Before=phosphor-fan-monitor-init@0.service |
Matt Spinler | 796f28d | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 5 | Conflicts=obmc-fan-watchdog-takeover.target |
| 6 | |
| 7 | [Service] |
Matthew Barth | 80f819e | 2020-05-12 14:08:30 -0500 | [diff] [blame] | 8 | EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf |
Matt Spinler | 796f28d | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 9 | ExecStart=/sbin/watchdog -T ${{TIMEOUT}} -t ${{INTERVAL}} -F ${{DEVICE}} |
| 10 | KillSignal=SIGKILL |
| 11 | |
| 12 | [Install] |
Matt Spinler | 6eed2ea | 2017-10-06 14:17:15 -0500 | [diff] [blame] | 13 | RequiredBy=obmc-chassis-poweron@0.target |