diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-10-04 16:22:32 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-10-04 16:23:19 +0800 |
commit | 11ee51482ad3c58c58da2be036bc6ee6440c43e4 (patch) | |
tree | 71ca4e2339775f7f7a8e907b890567e5082ba35a /app-admin | |
parent | ce546750f7bfea8be2ded1cd2c88db0b943b8f33 (diff) | |
download | gentoo-11ee51482ad3c58c58da2be036bc6ee6440c43e4.tar.gz gentoo-11ee51482ad3c58c58da2be036bc6ee6440c43e4.tar.xz |
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
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/collectd/files/collectd.initd | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app-admin/collectd/files/collectd.initd b/app-admin/collectd/files/collectd.initd index 4f48a116c37..10d29524d10 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" } |