sonic-buildimage/platform/broadcom/sonic-platform-modules-dell/s6000/systemd/fancontrol.service
paavaanan e32d22c0b9 [devices]: DellEMC S6000 fancontrol support (#4048)
- Implemented fancontrol service to monitor S6000 fans and adjust fan speed w.r.t temperature.
- fancontrol.service starts the fancontrol script at startup.
- This script takes the average temperature by reading three sensors and configure FANS to appropritate RPM against the temperature.
- When the temperature is adjusted script will log in syslog for future reference.
- Also, script checks for faulty fans and report the status in syslog.
2020-02-03 15:37:26 -08:00

14 lines
226 B
Desktop File

[Unit]
Description=Dell S6000 fan speed regulator
After=platform-modules-s6000.service
Before=pmon.service
[Service]
ExecStart=-/usr/local/bin/fancontrol.sh
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target