fix thanks to Marcin Mirosław sourced from the gentoo bug.
Gentoo bug: #539262
Package-Manager: portage-2.2.20.1
ebegin "Starting collectd"
start-stop-daemon --start --user "${COLLECTD_USER}:collectd" \
+ --env LC_NUMERIC=C \
--nicelevel "${COLLECTD_NICELVL}" --exec /usr/sbin/collectd -- \
-P "${COLLECTD_PIDFILE}" -C "${COLLECTD_CFGFILE}"
eend $? "Failed to start collectd"
stop() {
ebegin "Stopping collectd"
start-stop-daemon --stop \
+ --env LC_NUMERIC=C \
--pidfile "${COLLECTD_PIDFILE}"
eend $? "Failed to stop collectd"
}