updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / prosody-hg / fix-config.patch
blob8856bfb92758d282080b5e3c500349e19d76de98
1 diff -wbBur prosody-0.8.0/prosody.cfg.lua.dist prosody-0.8.0.my/prosody.cfg.lua.dist
2 --- prosody-0.8.0/prosody.cfg.lua.dist 2011-04-05 13:47:06.000000000 +0000
3 +++ prosody-0.8.0.my/prosody.cfg.lua.dist 2011-04-07 16:03:42.000000000 +0000
4 @@ -21,6 +21,8 @@
5 -- (see http://prosody.im/doc/creating_accounts for info)
6 -- Example: admins = { "user1@example.com", "user2@example.net" }
7 admins = { }
8 +daemonize = true
9 +pidfile = "/var/run/prosody/prosody.pid"
11 -- Enable use of libevent for better performance under high load
12 -- For more information see: http://prosody.im/doc/libevent
13 @@ -59,7 +61,7 @@
14 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
16 -- Other specific functionality
17 - --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
18 + "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
19 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
20 --"httpserver"; -- Serve static files from a directory over HTTP
21 --"groups"; -- Shared roster support
22 @@ -123,8 +125,8 @@
23 -- Logging configuration
24 -- For advanced logging see http://prosody.im/doc/logging
25 log = {
26 - info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
27 - error = "prosody.err";
28 + info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
29 + error = "/var/log/prosody/prosody.err";
30 -- "*syslog"; -- Uncomment this for logging to syslog
31 -- "*console"; -- Log to the console, useful for debugging with daemonize=false