Add systemd service to run at boot

master
root 4 years ago
parent 57bd98ff3d
commit e8abfe29e0

@ -0,0 +1,10 @@
[Unit]
Description=ASRock IPMI automatic fan control
[Service]
WorkingDirectory=/root/asrock-pwm-ipmi/
ExecStart=/root/asrock-pwm-ipmi/asrock-pwm-ipmi -a
Restart=always
[Install]
WantedBy=multi-user.target

@ -58,7 +58,7 @@ while args.auto is True:
speeds.append(str(i) + ":" + str(speed))
iterateFans(speeds)
#print(speeds)
time.sleep(1)
#time.sleep(1)
if args.info is False and args.fanplusspeed == []:
print("Nothing to do! See --help for usage.")

Loading…
Cancel
Save