blob: 675a67269840544168c16d423fcb8064e84de89b [file] [log] [blame]
Matt Spinler17de1eb2017-06-06 09:40:45 -05001[Unit]
2Description=Witherspoon Fan Watchdog Reset
Matthew Barthf59761e2019-09-20 09:56:35 -05003Wants=phosphor-fan-monitor-init@0.service
4Before=phosphor-fan-monitor-init@0.service
Matt Spinler17de1eb2017-06-06 09:40:45 -05005Conflicts=obmc-chassis-poweroff@0.target
6
7[Service]
8Type=oneshot
9RemainAfterExit=yes
Matt Spinler796f28d2017-06-13 15:57:04 -050010EnvironmentFile={envfiledir}/obmc/witherspoon-fan-watchdog/reset-fan-watchdog.conf
Michael Tritzbc3818e2017-08-15 14:07:23 -050011ExecStart=/usr/bin/env phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}}
12SyslogIdentifier=phosphor-gpio-util