I want to use a program to control my fan speed ([https://github.com/blan4/lenovo-yoga-fan-control]">[https://github.com/blan4/lenovo-yoga-fan-control]) but the script to add the program to the init queue is written for ubuntu.
I tried running the programm on startup by putting following in a file called yoga_fan.service in /etc/systemd/system:
Description=Yoga Fan Control
I then enabled the unit with ‘sudo systemctl enable yoga_fan.service’
However this didn’t work.
If I just start the program in the command line with ‘sudo yoga_fan’ it works and the fan spins when needed.
I just need a way to autostart it without the need to enter the root password …
Any advice on how to achieve that?
: <a href=