blob: 57724f353f80ba4cf1ef571c883fd9df4c4d3cd7 [file] [log] [blame]
George Hung4f20ff82020-05-12 16:56:27 +08001[Unit]
2Description=Power Cycle by Hotswap Controller
3
4[Service]
5EnvironmentFile=/run/psu_timedelay
6ExecStartPre=sleep $PSU_HARDRESET_DELAY
7ExecStart=gpioset gpiochip6 26=1
8Restart=no
9Type=oneshot
10RemainAfterExit=true
11StandardOutput=syslog
12
13[Install]
14WantedBy=gbmc-psu-hardreset.target