blob: 8ac3dd11550b37c18533b97507e7dbecea8da93c [file] [log] [blame]
[Unit]
Description=Witherspoon Fan Watchdog Reset
Wants=phosphor-fan-control-init@0.service
Before=phosphor-fan-control-init@0.service
Conflicts=obmc-chassis-poweroff@0.target
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile={envfiledir}/obmc/witherspoon-fan-watchdog/witherspoon-reset-fan-watchdog.conf
ExecStart={sbindir}/phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}}