From: Ian Delaney Date: Sun, 4 Oct 2015 08:22:32 +0000 (+0800) Subject: app-admin/collectd: set required env var in file collectd.initd X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=11ee51482ad3c58c58da2be036bc6ee6440c43e4;p=gentoo.git app-admin/collectd: set required env var in file collectd.initd fix thanks to Marcin Mirosław sourced from the gentoo bug. Gentoo bug: #539262 Package-Manager: portage-2.2.20.1 --- 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" }