summaryrefslogtreecommitdiff
path: root/community/prosody/fix-config.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /community/prosody/fix-config.patch
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'community/prosody/fix-config.patch')
-rw-r--r--community/prosody/fix-config.patch28
1 files changed, 15 insertions, 13 deletions
diff --git a/community/prosody/fix-config.patch b/community/prosody/fix-config.patch
index bd9a5d755..8856bfb92 100644
--- a/community/prosody/fix-config.patch
+++ b/community/prosody/fix-config.patch
@@ -1,6 +1,6 @@
-diff -wbBur prosody-0.7.0/prosody.cfg.lua.dist prosody-0.7.0.my/prosody.cfg.lua.dist
---- prosody-0.7.0/prosody.cfg.lua.dist 2010-06-13 00:23:02.000000000 +0000
-+++ prosody-0.7.0.my/prosody.cfg.lua.dist 2011-01-27 16:09:24.000000000 +0000
+diff -wbBur prosody-0.8.0/prosody.cfg.lua.dist prosody-0.8.0.my/prosody.cfg.lua.dist
+--- prosody-0.8.0/prosody.cfg.lua.dist 2011-04-05 13:47:06.000000000 +0000
++++ prosody-0.8.0.my/prosody.cfg.lua.dist 2011-04-07 16:03:42.000000000 +0000
@@ -21,6 +21,8 @@
-- (see http://prosody.im/doc/creating_accounts for info)
-- Example: admins = { "user1@example.com", "user2@example.net" }
@@ -10,21 +10,23 @@ diff -wbBur prosody-0.7.0/prosody.cfg.lua.dist prosody-0.7.0.my/prosody.cfg.lua.
-- Enable use of libevent for better performance under high load
-- For more information see: http://prosody.im/doc/libevent
-@@ -54,7 +56,7 @@
- "register"; -- Allow users to register on this server using a client and change passwords
+@@ -59,7 +61,7 @@
+ --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
-- Other specific functionality
- --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
- --"console"; -- Opens admin telnet interface on localhost port 5582
--"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
--"httpserver"; -- Serve static files from a directory over HTTP
-@@ -90,7 +92,7 @@
-
+ --"groups"; -- Shared roster support
+@@ -123,8 +125,8 @@
-- Logging configuration
-- For advanced logging see http://prosody.im/doc/logging
--log = "prosody.log";
-+log = "/var/log/prosody/prosody.log";
- debug = false; -- Log debug messages?
-
- ----------- Virtual hosts -----------
+ log = {
+- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
+- error = "prosody.err";
++ info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
++ error = "/var/log/prosody/prosody.err";
+ -- "*syslog"; -- Uncomment this for logging to syslog
+ -- "*console"; -- Log to the console, useful for debugging with daemonize=false
+ }