mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-14 19:03:13 +00:00
Add fancontrol service file for systemd
This commit is contained in:
1 parent
62ed6f484b
commit
1e3fb43118
1 file changed
+13
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start fan control, if configured
|
||||
ConditionFileNotEmpty=/etc/fancontrol
|
||||
After=lm_sensors.service
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/sysconfig/lm_sensors
|
||||
Type=simple
|
||||
PIDFile=/var/run/fancontrol.pid
|
||||
ExecStart=/usr/sbin/fancontrol
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user