summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/fans/witherspoon-fan-watchdog/witherspoon-reset-fan-watchdog.service
blob: e0ef0aeebfc952ba3e79969661614d9fdc15e43a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[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/reset-fan-watchdog.conf
ExecStart=/usr/bin/env phosphor-gpio-util -p ${{GPIO_PATH}} -g ${{GPIO}} -a ${{ACTION}} -d ${{DELAY}}
SyslogIdentifier=phosphor-gpio-util
OpenPOWER on IntegriCloud