summaryrefslogtreecommitdiff
path: root/pcr/thinkfan/thinkfan.service
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-16 02:06:46 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-16 02:06:46 -0500
commitfb7509d0e9d6b589c3e172ddefce2d3364363cfa (patch)
tree272666e323a3dd8744501d48634f95bad2b59acf /pcr/thinkfan/thinkfan.service
parent01940551c89b3e3e9ad0e32726b82fdc86203e38 (diff)
thinkfan-0.9.2-2: rebuild
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