From 11ee51482ad3c58c58da2be036bc6ee6440c43e4 Mon Sep 17 00:00:00 2001 From: Ian Delaney Date: Sun, 4 Oct 2015 16:22:32 +0800 Subject: [PATCH] app-admin/collectd: set required env var in file collectd.initd MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fix thanks to Marcin Mirosław sourced from the gentoo bug. Gentoo bug: #539262 Package-Manager: portage-2.2.20.1 --- app-admin/collectd/files/collectd.initd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-admin/collectd/files/collectd.initd b/app-admin/collectd/files/collectd.initd index 4f48a116c37f..10d29524d10a 100644 --- a/app-admin/collectd/files/collectd.initd +++ b/app-admin/collectd/files/collectd.initd @@ -47,6 +47,7 @@ start() { 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" @@ -55,6 +56,7 @@ start() { stop() { ebegin "Stopping collectd" start-stop-daemon --stop \ + --env LC_NUMERIC=C \ --pidfile "${COLLECTD_PIDFILE}" eend $? "Failed to stop collectd" } -- 2.26.2