lib/pi-sensors: lower interval from 10 to 2

This commit is contained in:
Astro 2021-10-08 02:53:35 +02:00
parent fb7ec49b66
commit 2906a5d735
1 changed files with 1 additions and 1 deletions

View File

@ -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