Forgot to delete lm_sensors-r6181-fix-service-files.patch which is
no longer needed OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=74
This commit is contained in:
parent
4e4e75f349
commit
8af52e962b
@ -1,31 +0,0 @@
|
||||
Subject: Fix EnvironmentFile in service files
|
||||
Upstream: yes, r6181
|
||||
|
||||
* EnvironmentFile is mandatory for sensord.
|
||||
* fancontrol needs no EnvironmentFile.
|
||||
---
|
||||
prog/init/fancontrol.service | 1 -
|
||||
prog/init/sensord.service | 2 +-
|
||||
2 files changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
--- a/prog/init/fancontrol.service
|
||||
+++ b/prog/init/fancontrol.service
|
||||
@@ -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
|
||||
--- a/prog/init/sensord.service
|
||||
+++ b/prog/init/sensord.service
|
||||
@@ -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
|
Loading…
Reference in New Issue
Block a user