lib/pi-sensors: lower interval from 10 to 2
This commit is contained in:
parent
fb7ec49b66
commit
2906a5d735
|
@ -30,7 +30,7 @@
|
|||
};
|
||||
|
||||
services.collectd.plugins.exec = ''
|
||||
Exec "${config.services.collectd.user}" "/run/wrappers/bin/pi-sensors" "10"${lib.concatMapStrings (s: " \"${s}\"") (
|
||||
Exec "${config.services.collectd.user}" "/run/wrappers/bin/pi-sensors" "2"${lib.concatMapStrings (s: " \"${s}\"") (
|
||||
lib.concatMap ({ type, pin, location }:
|
||||
[ type (toString pin) location ]
|
||||
) config.c3d2.pi-sensors
|
||||
|
|
Loading…
Reference in New Issue