hirschmann / nbfc

NoteBook FanControl
Other
2.9k stars 488 forks source link

Linux service is disabled #1341

Closed kirillkushpel closed 1 year ago

kirillkushpel commented 1 year ago

Describe the bug Linux service is disabled.

Installation was successfull, service has been started

 sudo systemctl status nbfc.service                                                                                                                                                      ─╯
[sudo] password for kirill:      
● nbfc.service - NoteBook FanControl service
     Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-05-08 11:03:32 MSK; 1 day 7h ago
   Main PID: 2603 (mono)
      Tasks: 7 (limit: 27921)
     Memory: 48.7M
        CPU: 1.445s
     CGroup: /system.slice/nbfc.service
             └─2603 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe

May 08 11:03:32 OMEN15 systemd[1]: Starting NoteBook FanControl service...
May 08 11:03:32 OMEN15 systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operation not permitted
May 08 11:03:32 OMEN15 systemd[1]: Started NoteBook FanControl service.
May 08 11:03:33 OMEN15 mono[2603]: NbfcService: Service NoteBookFanControlService started

The actual service is disabled

─ mono nbfc.exe status --all                                                                                                                                                              ─╯
Service enabled     : False
Read-only       : False
Selected config name    : 
Temperature     : 0

Could not get fan info because the service is disabled

Secure Boot is disabled.

linux-nbfc on Manjaro ran fine on the same machine.

To Reproduce idk =(

Expected behavior NBFC should run

System information



**Additional context**
HP Omen 15-en0xxx
kirillkushpel commented 1 year ago

Went with the nbfc-linux.