Matt Spinler | 6304341 | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 1 | [Unit] |
Matthew Barth | c358bce | 2020-05-12 14:08:30 -0500 | [diff] [blame^] | 2 | Description=Fan Watchdog Reset |
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 | 6304341 | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 5 | Conflicts=obmc-chassis-poweroff@0.target |
| 6 | |
| 7 | [Service] |
| 8 | Type=oneshot |
| 9 | RemainAfterExit=yes |
Matthew Barth | c358bce | 2020-05-12 14:08:30 -0500 | [diff] [blame^] | 10 | EnvironmentFile={envfiledir}/obmc/fan-watchdog/reset-fan-watchdog.conf |
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 11 | ExecStart=/usr/bin/env phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}} |
| 12 | SyslogIdentifier=phosphor-gpio-util |