linux_thermaltake_riing
linux_thermaltake_riing copied to clipboard
Systemd script points to a non correct destination for PopOS 21.04
I found the service would not start automatically on boot or when manually started, confirmed I can get ir running by running: sudo /usr/bin/python3 /usr/local/bin/linux-thermaltake-rgb
Check the service error with the following sudo service linux-thermaltake-rgb status
and getting this error:
linux-thermaltake-rgb.service Loaded: loaded (/lib/systemd/system/linux-thermaltake-rgb.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since Fri 2021-08-27 19:34:57 NZST; 6s ago Process: 5733 ExecStart=/usr/bin/linux-thermaltake-rgb (code=exited, status=203/EXEC) Main PID: 5733 (code=exited, status=203/EXEC)
I found I had to change the ExecStart path in /usr/lib/systemd/system/linux-thermaltake-rgb.service to the following:
ExecStart=/usr/local/bin/linux-thermaltake-rgb
I am not a linux guru and only just dipping my feet in the water here and came across this solution by piecing together a number of forums posts.
EDIT:
I also could not find the service and config files to copy as they did not exist in the location given by the documentation but after a file system search I found them at this location: /usr/local/lib/python3.9/dist-packages/usr/share
same issue on manjarrow though a slightly different location due to a more upto date python version '/usr/lib/python3.10/site-packages/usr/share/linux_thermaltake_rgb/linux-thermaltake-rgb.service'