blob: f6248f0ee2fd0ab4b3bf92b55f5cc68b74a1fe06 [file] [log] [blame]
Matt Spinler17de1eb2017-06-06 09:40:45 -05001[Unit]
Matthew Barth80f819e2020-05-12 14:08:30 -05002Description=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
Matthew Barth80f819e2020-05-12 14:08:30 -050010EnvironmentFile={envfiledir}/obmc/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