summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/power/witherspoon-power-supply-sync/power-supply-sync.service
blob: 50e177687375ee50f7c0efbfa06c7d0a5c4db355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Power Supply Input History SYNC
Wants=obmc-power-start-pre@0.target
After=obmc-power-start-pre@0.target
Wants=obmc-chassis-poweron@0.target
Before=obmc-chassis-poweron@0.target
ConditionPathExists=!/run/openbmc/chassis@0-on
Conflicts=obmc-chassis-poweroff@0.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/gpioset -m time -u 5000 /dev/gpiochip0 105=0
ExecStart=/usr/bin/gpioset /dev/gpiochip0 105=1

[Install]
#RequiredBy=obmc-chassis-poweron@0.target