Describe the bug
service can not start
To Reproduce
Steps to reproduce the behavior.
Expected behavior
just sudo systemctl start nbfc
System information
- operating system archlinux
- NBFC version 1.6.3-1
- log files (see [NBFC files and directories overview]
logicinu@laptop: nbfc » journalctl -u nbfc --since "7 days ago"
3月 19 22:28:24 laptop systemd[1]: Starting NoteBook FanControl service...
3月 19 22:28:24 laptop systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operation not permitted
Additional context
logicinu@laptop: nbfc » systemctl status nbfc [22:41:41]
● nbfc.service - NoteBook FanControl service
Loaded: loaded (/etc/systemd/system/nbfc.service; disabled; vendor preset: disabled)
Active: active (running) since Thu 2020-03-19 22:41:41 CST; 3s ago
Process: 2779496 ExecStart=/opt/nbfc/nbfcservice.sh start (code=exited, status=0/SUCCESS)
Main PID: 2779499 (mono)
Tasks: 9 (limit: 17857)
Memory: 36.9M
CGroup: /system.slice/nbfc.service
└─2779499 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe
3月 19 22:41:41 laptop systemd[1]: Starting NoteBook FanControl service...
3月 19 22:41:41 laptop systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operation not permitted
3月 19 22:41:41 laptop systemd[1]: Started NoteBook FanControl service.
3月 19 22:41:42 laptop mono[2779499]: NbfcService: Service NoteBookFanControlService started
logicinu@laptop: nbfc » sudo cat /run/nbfc.pid [22:41:45]
2779499
logicinu@laptop: nbfc » ll /run/nbfc.pid [22:41:52]
-rw-r----- 1 root root 8 3月 19 22:41 /run/nbfc.pid
logicinu@laptop: nbfc » sudo mono nbfc.exe status -a [22:42:00]
Service enabled : False
Read-only : False
Selected config name :
Temperature : 0
Could not get fan info because the service is disabled
Describe the bug
service can not start
To Reproduce
Steps to reproduce the behavior.
Expected behavior
just
sudo systemctl start nbfcSystem information
Additional context