blob: 23c1fca494c4ad80c5f1edfbb1cbb1070bec340f [file] [log] [blame]
Matt Spinler17de1eb2017-06-06 09:40:45 -05001[Unit]
2Description=Witherspoon Fan Watchdog Reset
3Wants=phosphor-fan-control-init@0.service
4Before=phosphor-fan-control-init@0.service
5Conflicts=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
Matt Spinler17de1eb2017-06-06 09:40:45 -050011ExecStart={sbindir}/phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}}