summaryrefslogtreecommitdiff
path: root/pcr/thinkfan/thinkfan.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/thinkfan/thinkfan.service')
-rw-r--r--pcr/thinkfan/thinkfan.service10
1 files changed, 7 insertions, 3 deletions
diff --git a/pcr/thinkfan/thinkfan.service b/pcr/thinkfan/thinkfan.service
index e7c8badd1..5618aed6f 100644
--- a/pcr/thinkfan/thinkfan.service
+++ b/pcr/thinkfan/thinkfan.service
@@ -1,9 +1,13 @@
[Unit]
-Description=Thinkfan Daemon - simple and lightweight fan control program
-After=basic.target
+Description=simple and lightweight fan control program
+Wants=lm_sensors.service
+After=lm_sensors.service
[Service]
-ExecStart=/usr/bin/thinkfan -n -s5 -q
+Type=forking
+ExecStart=/usr/bin/thinkfan
+PIDFile=/var/run/thinkfan.pid
+ExecReload=/usr/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target