diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 090ee177f..b3d5fb843 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.8.0 -PKG_RELEASE:=5 +PKG_RELEASE:=6 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ diff --git a/utils/collectd/files/collectd.init b/utils/collectd/files/collectd.init index cb314d351..668858b90 100644 --- a/utils/collectd/files/collectd.init +++ b/utils/collectd/files/collectd.init @@ -5,11 +5,13 @@ START=80 STOP=10 USE_PROCD=1 +NICEPRIO=5 start_service() { mkdir -m 0755 -p /var/lib/collectd procd_open_instance procd_set_param command /usr/sbin/collectd -f + procd_set_param nice "$NICEPRIO" procd_close_instance }