mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-02 07:15:39 +00:00
Fix EnvironmentFile in service files
* EnvironmentFile is mandatory for sensord. * fancontrol needs no EnvironmentFile.
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -2,6 +2,7 @@ lm-sensors CHANGES file
|
|||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
SVN HEAD
|
SVN HEAD
|
||||||
|
init: Fix EnvironmentFile in service files
|
||||||
sensors-detect: Report built-in drivers as such
|
sensors-detect: Report built-in drivers as such
|
||||||
|
|
||||||
3.3.4 (2013-05-27)
|
3.3.4 (2013-05-27)
|
||||||
|
@@ -4,7 +4,6 @@ ConditionFileNotEmpty=/etc/fancontrol
|
|||||||
After=lm_sensors.service
|
After=lm_sensors.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/lm_sensors
|
|
||||||
Type=simple
|
Type=simple
|
||||||
PIDFile=/var/run/fancontrol.pid
|
PIDFile=/var/run/fancontrol.pid
|
||||||
ExecStart=/usr/sbin/fancontrol
|
ExecStart=/usr/sbin/fancontrol
|
||||||
|
@@ -4,7 +4,7 @@ After=lm_sensors.service
|
|||||||
After=syslog.target
|
After=syslog.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/etc/sysconfig/sensord
|
EnvironmentFile=/etc/sysconfig/sensord
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/var/run/sensord.pid
|
PIDFile=/var/run/sensord.pid
|
||||||
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
|
ExecStart=/usr/sbin/sensord -i $INTERVAL -l $LOG_INTERVAL -f daemon
|
||||||
|
Reference in New Issue
Block a user