Matt Spinler | 17de1eb | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Witherspoon Fan Watchdog Reset |
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 | 17de1eb | 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 |
Matt Spinler | 796f28d | 2017-06-13 15:57:04 -0500 | [diff] [blame] | 10 | EnvironmentFile={envfiledir}/obmc/witherspoon-fan-watchdog/reset-fan-watchdog.conf |
Michael Tritz | bc3818e | 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 |