Changeset

205:4ca91e0551b2

Reformatted lxmppd.cfg.dist and removed redundant variable
author Waqas Hussain <waqas20@gmail.com>
date Mon, 03 Nov 2008 07:48:39 +0500
parents 203:5c2e6b9eeeb6
children 206:e30d0e30a0ff
files lxmppd.cfg.dist
diffstat 1 files changed, 24 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/lxmppd.cfg.dist	Sun Nov 02 22:28:32 2008 +0500
+++ b/lxmppd.cfg.dist	Mon Nov 03 07:48:39 2008 +0500
@@ -1,25 +1,26 @@
 
+---- lxmppd configuration file ----
 
-sessions = {};
-hosts = 	{ 
-			["localhost"] = 	{
-							type = "local";
-							connected = true;
-							sessions = {};
-						};
-			["getjabber.ath.cx"] = 	{
-							type = "local";
-							connected = true;
-							sessions = {};
-						};
-		}
-		
--- If the following is not defined, no SSL will be set up on 5223		
-ssl_ctx =	{
-			mode = "server",
-			protocol = "sslv23",
-			
-			key = "/home/matthew/ssl_cert/server.key",
-    			certificate = "/home/matthew/ssl_cert/server.crt",
-    			capath = "/etc/ssl/certs", verify = "none",
-    		}
+-- define the local hosts
+hosts = { 
+	["localhost"] = {
+		type = "local";
+		connected = true;
+		sessions = {};
+	};
+	["getjabber.ath.cx"] = {
+		type = "local";
+		connected = true;
+		sessions = {};
+	};
+}
+
+-- if the following is not defined, no SSL will be set up on 5223	
+ssl_ctx = {
+	mode = "server",
+	protocol = "sslv23",
+
+	key = "/home/matthew/ssl_cert/server.key",
+	certificate = "/home/matthew/ssl_cert/server.crt",
+	capath = "/etc/ssl/certs", verify = "none",
+}