17 lines
523 B
Diff
17 lines
523 B
Diff
|
Allow passing arbitrary extra arguments to sensord.
|
||
|
---
|
||
|
prog/init/sensord.service | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/prog/init/sensord.service
|
||
|
+++ b/prog/init/sensord.service
|
||
|
@@ -6,7 +6,7 @@ After=lm_sensors.service
|
||
|
EnvironmentFile=/etc/sysconfig/sensord
|
||
|
Type=forking
|
||
|
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 $SENSORD_ARGS
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|