Re: Coolercontrol App
Reply #1 –
In OpenRC, services are located in the /etc/init.d/ directory. So, you will have to create /etc/init.d/coolercontrol-liquidctl and /etc/init.d/coolercontrold with the respective contents that you already mentioned (though there seems to be a typo: replace every "coolercontrolled" with "coolercontrold"). Then, you need to run
sudo chmod +x /etc/init.d/coolercontrol*
in order to set the correct permissions,
sudo rc-service coolercontrol-liquidctl start
sudo rc-service coolercontrold start
in order to start them, and
sudo rc-update add coolercontrol-liquidctl default
sudo rc-update add coolercontrold default
if you want them to start on boot.
You can find out more about OpenRC on the wiki.
Though here's a bit of advice: please be careful when installing packages like these from the AUR. When testing this in a virtual machine, yay -S coolercontrol compiled 580 (!) packages from source, including downloading stuff from npm. Most of these are user-generated packages that are not checked, and there have been incidents when malicious code was distributed this way. For your own sake, please reconsider if you really need this program. I'm not saying that it's bad, but it does introduce a lot of attack surface. An alternative would be downloading their AppImage since, IIRC, it's already compiled for you. Though you'll have to update manually and that's still a binary that you can't check, so bad stuff can also happen here.