Create thinkfan.service
This commit is contained in:
parent
4958a290cc
commit
98bebce849
1 changed files with 12 additions and 0 deletions
12
thinkfan/thinkfan.service
Normal file
12
thinkfan/thinkfan.service
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=simple and lightweight fan control program
|
||||||
|
After=syslog.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
ExecStart=/usr/local/sbin/thinkfan
|
||||||
|
PIDFile=/var/run/thinkfan.pid
|
||||||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue