-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service exit after start #1
Comments
What OS are you running? Active: active (exited) means that the service is running but the system doesn't understand or can't see the daemon to monitor it (i'm not seeing the same thing on mine). If you run a "sudo service --status-all" you may probably see this "[ - ] cpufan" instead of this "[ + ] cpufan". If you check the logfile /var/log/cpufan.log it should show when the CPU fan speed was updated, if it's recent then the service is running anyway. The daemon is located "/var/run/cpufan.pid" see if it is created or not and if it is readable etc? You also don't have to run the fan as a service you can just run the "fan.py" script at startup in a cron job or from the command line and the fan should start up. I'm not going to close this issue yet as I will look into writing a unit file for the service that should stop this monitoring quirk. Thanks for your help :) |
Same problem here with Raspberry Pi4.
|
I've not had the pleasure of running it on a pi4 yet. This may also be as simple as running the service as the "pi" user rather than root due to Raspbian changes with the Root account. change line 13 in the cpufan file and run the commands: |
Hi. If i run fan.py, it runs at full speed, but program measure RPM. And RUNAS=pi does not work for me :-( |
You are using the transistor as a controller right? |
Yes, I am using transistor. |
Hello,
I always get service active(exited):
● cpufan.service - LSB: CPU fan service
Loaded: loaded (/etc/init.d/cpufan; generated; vendor preset: enabled)
Active: active (exited) since Wed 2018-10-03 10:57:36 WEST; 16min ago
Docs: man:systemd-sysv-generator(8)
CGroup: /system.slice/cpufan.service
Any clue?
The text was updated successfully, but these errors were encountered: