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.service8
1 files changed, 5 insertions, 3 deletions
diff --git a/pcr/thinkfan/thinkfan.service b/pcr/thinkfan/thinkfan.service
index 5618aed6f..d23218aad 100644
--- a/pcr/thinkfan/thinkfan.service
+++ b/pcr/thinkfan/thinkfan.service
@@ -5,9 +5,11 @@ After=lm_sensors.service
[Service]
Type=forking
-ExecStart=/usr/bin/thinkfan
-PIDFile=/var/run/thinkfan.pid
-ExecReload=/usr/bin/kill -HUP $MAINPID
+ExecStart=/usr/bin/thinkfan $THINKFAN_ARGS
+PIDFile=/run/thinkfan.pid
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
+Also=thinkfan-sleep.service
+Also=thinkfan-wakeup.service \ No newline at end of file