Matt Spinler | a62a655 | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 1 | [Unit] |
Matthew Barth | c358bce | 2020-05-12 14:08:30 -0500 | [diff] [blame^] | 2 | Description=Fan Watchdog Daemon |
Matthew Barth | 1f00505 | 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 | a62a655 | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 5 | Conflicts=obmc-fan-watchdog-takeover.target |
| 6 | |
| 7 | [Service] |
Matthew Barth | c358bce | 2020-05-12 14:08:30 -0500 | [diff] [blame^] | 8 | EnvironmentFile={envfiledir}/obmc/fan-watchdog/fan-watchdog.conf |
Matt Spinler | a62a655 | 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 | 3868183 | 2017-10-06 14:17:15 -0500 | [diff] [blame] | 13 | RequiredBy=obmc-chassis-poweron@0.target |