Hi, I have just installed thinkfan, I have configure it, and I am able to test it with `thinkfan -n`. I would like to enable the `thinkfan` service: # systemctl enable thinkfan Failed to enable unit: Unit file thinkfan.service does not exist. I can see that there is `thinkfan.service` and `thinkfan-wakeup.service` in `/usr/lib64/systemd/system`. Is this the wrong location? Thanks Reproducible: Always Steps to Reproduce: 1. emerge -a thinkfan 2. systemctl enable thinkfan 3. Actual Results: Failed to enable unit: Unit file thinkfan.service does not exist. Expected Results: Service start
Systemd service files should be in /lib/systemd/system. The current ebuild does not install these even though they are provided by upstream. I am working on a version upgrade and will install the systemd service files.
After a bit more research I found out that if the thinkfan's cmake detects that systemd is installed, then it installs: - /usr/lib/systemd/system/thinkfan-sleep.service - /usr/lib/systemd/system/thinkfan-wakeup.service - /usr/lib/systemd/system/thinkfan.service - /etc/systemd/system/thinkfan.service.d/override.conf For this to work systemd needs to be installed, i.e. be detected by `pkg-config --list-all systemd` .