2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 05:17:50 +00:00

Fix EnvironmentFile in service files

* EnvironmentFile is mandatory for sensord.
* fancontrol needs no EnvironmentFile.
This commit is contained in:
Jean Delvare 2013-06-03 12:36:47 +00:00
parent a276f56993
commit 2dec06a2a9
3 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,7 @@ lm-sensors CHANGES file
-----------------------
SVN HEAD
init: Fix EnvironmentFile in service files
sensors-detect: Report built-in drivers as such
3.3.4 (2013-05-27)

View File

@ -4,7 +4,6 @@ ConditionFileNotEmpty=/etc/fancontrol
After=lm_sensors.service
[Service]
EnvironmentFile=/etc/sysconfig/lm_sensors
Type=simple
PIDFile=/var/run/fancontrol.pid
ExecStart=/usr/sbin/fancontrol

View File

@ -4,7 +4,7 @@ After=lm_sensors.service
After=syslog.target
[Service]
EnvironmentFile=-/etc/sysconfig/sensord
EnvironmentFile=/etc/sysconfig/sensord
Type=forking
PIDFile=/var/run/sensord.pid
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon