Add fancontrol service file for systemd

This commit is contained in:
Jean Delvare committed 2013-05-24 10:39:23 +00:00
1 parent 62ed6f484b
commit 1e3fb43118
1 file changed
+13
+13
View File
@@ -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