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 |
Matt Spinler | 17de1eb | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 11 | ExecStart={sbindir}/phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}} |