control: tags -1 + patch

Hi Joachim,

Joachim Breitner <nome...@debian.org> writes:
> after switching to systemd I noticed that thinkfan was no longer
> started. I found out that /etc/default/thinkfan is no long used then. I
> got it to work by adding a symlink
> /etc/systemd/system/multi-user.target.wants/thinkfan.service ->
> /lib/systemd/system/thinkfan.service
> but I’m not sure if this is the correct way.
It is, but just use “systemctl enable thinkfan.service” the next time
and don’t create the symlink manually :).

> Given that /usr/share/doc/thinkfan/README.Debian documents how to enable
> the daemon in sysvinit, I think it should
>  * make clear that /etc/default/thinkfan is not adhered to if systemd is
>    active, and
>  * how to activate thinkfan with systemd
Patch attached.

Thanks!

-- 
Best regards,
Michael
>From de292f67f1583dd739aea1bf2427a7693e01f80d Mon Sep 17 00:00:00 2001
From: Michael Stapelberg <stapelb...@debian.org>
Date: Tue, 29 Oct 2013 20:29:34 +0100
Subject: [PATCH] document how to use thinkfan with systemd

Closes: #728087
---
 debian/README.Debian |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/README.Debian b/debian/README.Debian
index c757eb8..2450d4d 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -7,6 +7,9 @@ WARNING!
 If you really want to enable thinkfan, adjust /etc/thinkfan.conf to your
 needs and set START=yes in /etc/default/thinkfan.
 
+If you are using systemd, use “systemctl enable thinkfan.service” — as is
+customary with systemd, thinkfan.service ignores /etc/default/thinkfan.
+
 Additionally, on ThinkPads, you need to load the thinkpad_acpi module with
 fan_control=1, or it will refuse to accept control from thinkfan.
 That's most easily done with a file /etc/modprobe.d/thinkfan.conf and the
-- 
1.7.10.4

Reply via email to