mbpfan-josie

Update mbpfan.service

38c14b7e22e454e08ac44c592f823686c4b9ee8b
Yamakaky <yamakaky@gmail.com> · 2014-06-29T17:26 · browse files at this commit

parents: 42be2d5

diff --git a/mbpfan.service b/mbpfan.service
index d440e0d..a649f08 100644
--- a/mbpfan.service
+++ b/mbpfan.service
@@ -1,12 +1,14 @@
 [Unit]
-Description=Start the mbpfan daemon
+Description=A fan manager daemon for MacBook Pro
 After=syslog.target
-After=remote-fs.target
+After=sysinit.target
 
 [Service]
-ExecStart=/usr/sbin/mbpfan
-Type=forking
+Type=simple
+ExecStart=/usr/bin/mbpfan -fv
+ExecReload=/usr/bin/kill -HUP $MAINPID
+PIDFile=/run/mbpfan.pid
 Restart=always
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=sysinit.target