Matt Spinler | 17de1eb | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Witherspoon Fan Watchdog Reset |
| 3 | Wants=phosphor-fan-control-init@0.service |
| 4 | Before=phosphor-fan-control-init@0.service |
| 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 |