-
Notifications
You must be signed in to change notification settings - Fork 58
[BUG] systemd unit fails by default [Debian 13] #175
Description
Describe the bug
Attempting to install the default unit resulted in it failing. this is because by default, the unit looks for the binary at (I believe? ) /usr/bin/fw-fanctrl. The installer when invoked on debian put the binary at /usr/local/bin/fw-fanctrl.
Altering the unit to use the resultant binary that which said was at the path listed above made it function.
To Reproduce
Steps to reproduce the behavior:
On Debian 13.3 (stock otherwise), clone the repo, install python3-wheel and python3-pip so it can actually run (brand new, but context). The build will succeed but warn about running pip as root.
However, attempting to inspect the unit will fail.
Expected behavior
I would hope it works.
Error message
× fw-fanctrl.service - Framework Fan Controller
Loaded: loaded (/usr/lib/systemd/system/fw-fanctrl.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2026-03-14 15:31:07 CDT; 1min 21s ago
Duration: 26ms
Invocation: 4bc58dc6ff2647e99f2053278aeaa6f3
Process: 10200 ExecStart=/usr/bin/fw-fanctrl --output-format JSON run --config /etc/fw-fanctrl/config.json --silent (code=exited, status=203/EXEC)
Process: 10202 ExecStopPost=/bin/sh -c ectool autofanctrl (code=exited, status=0/SUCCESS)
Main PID: 10200 (code=exited, status=203/EXEC)Environment:
- OS: Debian
- Version 13.3 Trixie
- Configuration file [config.json] (standard)
- Installation method: install.sh
Additional context
Add any other context about the problem here.