homeserver/friedhof/mgrote_supermicro_fan_control/templates/sm_fan_control.service.j2
Michael Grote 7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00

17 lines
698 B
Django/Jinja

{{ file_header | default () }}
[Unit]
Description=Set the fan threshold on Supermicro X9/10/11 Mainboards.
After=multi-user.target
[Service]
Type=oneshot
# Setze auf "Fan Mode: Standard"
ExecStart=/usr/bin/ipmitool raw 0x30 0x45 0x01
# Setze Grenzwerte Zone "Case"
ExecStart=/usr/bin/ipmitool sensor thresh "FAN1" lower 100 200 300
ExecStart=/usr/bin/ipmitool sensor thresh "FAN2" lower 100 200 300
ExecStart=/usr/bin/ipmitool sensor thresh "FAN3" lower 100 200 300
ExecStart=/usr/bin/ipmitool sensor thresh "FAN4" lower 100 200 300
ExecStart=/usr/bin/ipmitool sensor thresh "FAN5" lower 100 200 300
# Setze Grenzwerte Zone "CPU"
ExecStart=/usr/bin/ipmitool sensor thresh "FANA" lower 100 200 300