Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed systemd unit file to activate after thermald, if it exists. #34

Merged
merged 1 commit into from Nov 5, 2016

Conversation

jamesan
Copy link
Contributor

@jamesan jamesan commented May 3, 2016

The Before= directive can only be specified in the [Unit] section, as documented in the systemd.unit manpage.

The Before= (and After=) directive(s) only define the ordering of activated units, which is orthogonal to the dependency of units; that's defined through the Wants= and Requires= directives, so I've added the Wants=thermald.service directive to activate thermald.service when asus-fan.service is activated. Without this change, thermald.service does not start when asus-fan.service is activated; it's simply ordered to start before asus-fan.service if it is activated through some other mechanism.

@daringer daringer merged commit 35db172 into daringer:master Nov 5, 2016
@daringer
Copy link
Owner

daringer commented Nov 5, 2016

late but done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants