packages/net-im/prosody/files/prosody-0.8.2-enable-posix.patch (1487B) - raw
1 diff -ur prosody-0.8.2.orig/prosody.cfg.lua.dist prosody-0.8.2/prosody.cfg.lua.dist
2 --- prosody-0.8.2.orig/prosody.cfg.lua.dist 2011-06-13 07:21:40.000000000 +1000
3 +++ prosody-0.8.2/prosody.cfg.lua.dist 2011-07-04 21:25:52.959240265 +1000
4 @@ -59,7 +59,7 @@
5 --"admin_telnet"; -- Opens telnet console interface on localhost port 5582
6
7 -- Other specific functionality
8 - --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
9 + "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
10 --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
11 --"httpserver"; -- Serve static files from a directory over HTTP
12 --"groups"; -- Shared roster support
13 @@ -69,6 +69,8 @@
14 --"motd"; -- Send a message to users when they log in
15 };
16
17 +daemonize = false; -- will refuse to daemonize under systemd
18 +
19 -- These modules are auto-loaded, should you
20 -- (for some mad reason) want to disable
21 -- them then uncomment them below
22 @@ -123,9 +125,9 @@
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 - -- "*syslog"; -- Uncomment this for logging to syslog
29 + --info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
30 + --error = "prosody.err";
31 + "*syslog"; -- Uncomment this for logging to syslog
32 -- "*console"; -- Log to the console, useful for debugging with daemonize=false
33 }
34