changeset 888:f3e413458c04

Don't start mongo HTTP status page. If mongod is started on port 27518 say, then if the --nohttpinterface option is not specified it also fires up a basic HTTP interface (similar to httpd's server-status page) on port 28518. We don't need/want this for thermostat storage. This patch adds this option to common mongod options. Reviewed-by: rkennke Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-December/004941.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Fri, 21 Dec 2012 15:35:21 +0100
parents 32045c272fcf
children 55f03d096318
files agent/cli/src/main/java/com/redhat/thermostat/agent/cli/db/MongoProcessRunner.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/agent/cli/src/main/java/com/redhat/thermostat/agent/cli/db/MongoProcessRunner.java	Fri Jan 04 14:22:38 2013 -0500
+++ b/agent/cli/src/main/java/com/redhat/thermostat/agent/cli/db/MongoProcessRunner.java	Fri Dec 21 15:35:21 2012 +0100
@@ -65,7 +65,7 @@
     private static final String MONGO_PROCESS = "mongod";
 
     private static final String [] MONGO_BASIC_ARGS = {
-        "mongod", "--quiet", "--fork", "--auth", "--bind_ip"
+        "mongod", "--quiet", "--fork", "--auth", "--nohttpinterface", "--bind_ip"
     };
 
     private static final String [] MONGO_SHUTDOWN_ARGS = {