blob: f9f03e7c379a0d477a9895271478ee9b04081df9 [file] [log] [blame]
[Unit]
Description=Power Cycle by Hotswap Controller
[Service]
Environment= PSU_HARDRESET_DELAY=1
EnvironmentFile=-/run/psu_timedelay
ExecStartPre=sleep $PSU_HARDRESET_DELAY
ExecStart=gpioset 2 30=1
Restart=no
Type=oneshot
RemainAfterExit=true
StandardOutput=syslog
[Install]
WantedBy=gbmc-psu-hardreset.target