sulaweyo / r710-fan-control

A ruby script controlling fan speeds on Dell R710
GNU General Public License v3.0
22 stars 10 forks source link

issue running on debian #1

Closed killmasta93 closed 4 years ago

killmasta93 commented 4 years ago

Hi, I was wanting to give a try on your script, But after installing apt-get install gem then i tried installing the bundler but i get this error Not much familiar on installing ruby

 gem install bundler
-bash: gem: command not found

Thank you

killmasta93 commented 4 years ago

edit: the steps


apt install ruby-full
gem install thor
gem install colorize

but im trying to copy the service which i changed the user and group to root but i keep get this issue

● fan-control.service - R710 fan control
   Loaded: loaded (/etc/systemd/system/fan-control.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Jul 26 15:39:07 prometheus systemd[1]: /etc/systemd/system/fan-control.service:5: Invalid user/group name or numeric ID: <your user>
sulaweyo commented 4 years ago

From the message in the log i'd say you did not save your changes or did not reload systemd 'systemd daemon-reload' as it says it does not find the user id which is the default placeholder.

Please be careful with the config values - while the fan control will try to shut itself off if the CPU get's too hot there are other components that might build up heat on low fan rates. Disks and PSU come to mind - disks have longer lifetime if they run cooler and the PSU will ramp up it's own fan if it gets too hot. So be sure to have proper monitoring in place

killmasta93 commented 4 years ago

thanks for the reply, will keep that in mind i had to move the folder to opt thanks everything is working flawless