Matt Spinler | 17de1eb | 2017-06-06 09:40:45 -0500 | [diff] [blame] | 1 | [Unit] |
Matthew Barth | 80f819e | 2020-05-12 14:08:30 -0500 | [diff] [blame] | 2 | Description=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 |
Matthew Barth | 80f819e | 2020-05-12 14:08:30 -0500 | [diff] [blame] | 10 | EnvironmentFile={envfiledir}/obmc/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 |