Service unit target
I just understood that the amdfan service was not starting at boot on my computer because it's `WantedBy=final.target`.
It works as expected if I adjust the target to `multi-user.target` with a drop-in file.
I see there's a similar discussion in pull request #22. As mentioned there, `final.target` seems to be invoked at shutdown only (see also https://github.com/systemd/systemd/blob/main/units/final.target). I don't see how the service can work for some with that target? (Possibly because the service was not reenabled, so the symlink in some other target still exists?)
Possibly for the use-case adressed by that pull request, `graphical.target` would work, since it runs after `display-manager.service`? (https://github.com/systemd/systemd/blob/main/units/graphical.target)
0 条评论