diff options
author | Mika Havela <mika.havela@gmail.com> | 2011-08-13 15:02:45 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2011-08-15 16:02:36 +0000 |
commit | 9f671feee05e2ac8da716d5a466cd4358a52cf3d (patch) | |
tree | 2dae0fb432734e5deb8db5f3865a4e7581655117 /testing/prosody/prosody.cfg.lua.patch | |
parent | 3a3fa35fadd11ac3025c02db19ce6a3cac3ee92d (diff) | |
download | aports-9f671feee05e2ac8da716d5a466cd4358a52cf3d.tar.bz2 aports-9f671feee05e2ac8da716d5a466cd4358a52cf3d.tar.xz |
testing/prosody: Upgrade to 0.8.2
Using original prosody.cfg.lua config and patch it
Diffstat (limited to 'testing/prosody/prosody.cfg.lua.patch')
-rw-r--r-- | testing/prosody/prosody.cfg.lua.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/prosody/prosody.cfg.lua.patch b/testing/prosody/prosody.cfg.lua.patch new file mode 100644 index 000000000..ca1c9b331 --- /dev/null +++ b/testing/prosody/prosody.cfg.lua.patch @@ -0,0 +1,32 @@ +--- prosody.cfg.lua.org ++++ prosody.cfg.lua +@@ -22,6 +22,9 @@ + -- Example: admins = { "user1@example.com", "user2@example.net" } + admins = { } + ++daemonize = true; ++pidfile = "/var/run/prosody/prosody.pid"; ++ + -- Enable use of libevent for better performance under high load + -- For more information see: http://prosody.im/doc/libevent + --use_libevent = true; +@@ -59,7 +62,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. + --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP" + --"httpserver"; -- Serve static files from a directory over HTTP + --"groups"; -- Shared roster support +@@ -123,8 +126,8 @@ + -- Logging configuration + -- For advanced logging see http://prosody.im/doc/logging + log = { +- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging +- error = "prosody.err"; ++ info = "/var/log/prosody.log"; -- Change 'info' to 'debug' for verbose logging ++ error = "/var/log/prosody.err"; + -- "*syslog"; -- Uncomment this for logging to syslog + -- "*console"; -- Log to the console, useful for debugging with daemonize=false + } |