From 7de9800ca0b65e4b2986b8e8da68b2aae6cde4a3 Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Wed, 7 Sep 2011 09:03:51 -0700
Subject: [PATCH] Adding the ability to specify the IP address to use on the
 command line.

---
 run.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run.js b/run.js
index a80193129..0dcb383d4 100755
--- a/run.js
+++ b/run.js
@@ -51,7 +51,7 @@ require('./libs/logging.js').enableConsoleLogging();
 var configuration = require('./libs/configuration.js');
 
 
-var PRIMARY_HOST = "127.0.0.1";
+var PRIMARY_HOST = process.env.IP_ADDRESS || "127.0.0.1";
 
 var boundServers = [ ];
 
-- 
GitLab