Create thinkfan.service

This commit is contained in:
deflax 2021-04-09 12:28:58 +03:00 committed by GitHub
parent 4958a290cc
commit 98bebce849
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

12
thinkfan/thinkfan.service Normal file
View 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