Merge pull request #962 from JD342/patch-1

Expand on how to change `ExecStart=` in `thermald.service`
This commit is contained in:
Maximilian Luz 2022-10-21 19:12:56 +02:00 committed by GitHub
commit d697d3aa0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,3 +15,12 @@ Both XML files (`thermal-conf.xml` and `thermal-cpu-cdev-order-xml`) need to be
Newer thermald versions attempt to automatically load the configuration from ACPI.
If you want to use a manual configuration with such a version, you may need to remove the `--adaptive` option from the systemd service `ExecStart` line.
You can do so by running `sudo systemctl edit thermald.service`.
Note that with `systemctl edit`, before the modified `ExecStart` line, you should add a new line containing `ExecStart=` and nothing on the right, like this:
```
ExecStart=
ExecStart=<modified line>
```
This instructs to replace the existing `ExecStart` instead of adding a new one. Otherwise, you may get an error "Unit thermald.service has a bad unit file setting", and the command `systemctl status thermald.service` may prompt a message "Service has more than one ExecStart= setting".