sensors/fancontrol.service

17 lines
317 B
Desktop File

[Unit]
Description=Start fan control, if configured
ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
After=syslog.target
[Service]
Type=simple
Restart=always
PIDFile=/var/run/fancontrol.pid
EnvironmentFile=/etc/sysconfig/lm_sensors
ExecStart=/usr/sbin/fancontrol
[Install]
WantedBy=multi-user.target