Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: s6 service for cpupower doesn't have a /etc/s6/config/cpupower.conf file (Read 501 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

s6 service for cpupower doesn't have a /etc/s6/config/cpupower.conf file

Code: [Select]
pacman -Ql cpupower-s6

cpupower-s6 /etc/
cpupower-s6 /etc/s6/
cpupower-s6 /etc/s6/sv/
cpupower-s6 /etc/s6/sv/cpupower/
cpupower-s6 /etc/s6/sv/cpupower/dependencies
cpupower-s6 /etc/s6/sv/cpupower/type
cpupower-s6 /etc/s6/sv/cpupower/up

First noticed when i tried to start cpupower service using s6-rc, it complains about a missing /etc/s6/config/cpupower.conf file and won't start, using pacman -Ql shows that cpupower-s6 doesn't provide that file

Re: s6 service for cpupower doesn't have a /etc/s6/config/cpupower.conf file

Reply #1
Running sudo touch /etc/s6/config/cpupower.conf should at least allow the service to start (if it has requires no environment variables).

 

Re: s6 service for cpupower doesn't have a /etc/s6/config/cpupower.conf file

Reply #2
The up script was reading the wrong path. It actually should have read /etc/default/cpupower which comes with the cpupower package. That has now been fixed and pushed. Thanks for the report. Just as a word of caution, using single quotes like in the example for "governor" won't work with execline. Double quotes or no quotes at all is what should be used.