Stanley Chu | 5c41384 | 2020-06-18 14:04:42 +0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=Power Cycle by Hotswap Controller | ||||
3 | |||||
4 | [Service] | ||||
5 | EnvironmentFile=/run/psu_timedelay | ||||
6 | ExecStartPre=sleep $PSU_HARDRESET_DELAY | ||||
7 | ExecStart= i2cset -f -y 8 0x11 0xd9 | ||||
8 | Restart=no | ||||
9 | Type=oneshot | ||||
10 | RemainAfterExit=true | ||||
11 | StandardOutput=syslog | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=gbmc-psu-hardreset.target |