Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/collectd/files/
Date: Sun, 04 Oct 2015 08:23:39
Message-Id: 1443946999.11ee51482ad3c58c58da2be036bc6ee6440c43e4.idella4@gentoo
1 commit: 11ee51482ad3c58c58da2be036bc6ee6440c43e4
2 Author: Ian Delaney <idella4 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 4 08:22:32 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 4 08:23:19 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11ee5148
7
8 app-admin/collectd: set required env var in file collectd.initd
9
10 fix thanks to Marcin Mirosław sourced from the gentoo bug.
11
12 Gentoo bug: #539262
13
14 Package-Manager: portage-2.2.20.1
15
16 app-admin/collectd/files/collectd.initd | 2 ++
17 1 file changed, 2 insertions(+)
18
19 diff --git a/app-admin/collectd/files/collectd.initd b/app-admin/collectd/files/collectd.initd
20 index 4f48a11..10d2952 100644
21 --- a/app-admin/collectd/files/collectd.initd
22 +++ b/app-admin/collectd/files/collectd.initd
23 @@ -47,6 +47,7 @@ start() {
24
25 ebegin "Starting collectd"
26 start-stop-daemon --start --user "${COLLECTD_USER}:collectd" \
27 + --env LC_NUMERIC=C \
28 --nicelevel "${COLLECTD_NICELVL}" --exec /usr/sbin/collectd -- \
29 -P "${COLLECTD_PIDFILE}" -C "${COLLECTD_CFGFILE}"
30 eend $? "Failed to start collectd"
31 @@ -55,6 +56,7 @@ start() {
32 stop() {
33 ebegin "Stopping collectd"
34 start-stop-daemon --stop \
35 + --env LC_NUMERIC=C \
36 --pidfile "${COLLECTD_PIDFILE}"
37 eend $? "Failed to stop collectd"
38 }