[groonga] Support GQTP and HTTP configuration for Munin plugins
kenhys
kenhys at fedoraproject.org
Tue Dec 31 15:04:27 UTC 2013
commit abb417e787dd586f195c1a83d4c6a48d8c2dd255
Author: HAYASHI Kentaro <kenhys at gmail.com>
Date: Tue Dec 31 08:37:43 2013 -0500
Support GQTP and HTTP configuration for Munin plugins
groonga.spec | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/groonga.spec b/groonga.spec
index 587ce4a..988fa11 100644
--- a/groonga.spec
+++ b/groonga.spec
@@ -232,11 +232,17 @@ cat <<EOC > $RPM_BUILD_ROOT%{_sysconfdir}/munin/plugin-conf.d/groonga
user groonga
group groonga
env.PATH %{_bindir}
- env.pid_file %{_localstatedir}/run/groonga/groonga.pid
+ env.pid_file %{_localstatedir}/run/groonga/groonga-http.pid
env.path %{_localstatedir}/lib/groonga/db/db
env.host 127.0.0.1
+ env.protocol http
env.port 10041
- env.log_path %{_localstatedir}/log/groonga/query.log
+ env.log_path %{_localstatedir}/log/groonga/query-http.log
+[groonga_*_gqtp]
+ env.protocol gqtp
+ env.port 10043
+ env.pid_file %{_localstatedir}/run/groonga/groonga-gqtp.pid
+ env.log_path %{_localstatedir}/log/groonga/query-gqtp.log
EOC
# install python binding
More information about the scm-commits
mailing list