summaryrefslogtreecommitdiff
path: root/net-im/prosody/files/prosody-0.8.0.cfg.lua.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/prosody/files/prosody-0.8.0.cfg.lua.patch')
-rw-r--r--net-im/prosody/files/prosody-0.8.0.cfg.lua.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-im/prosody/files/prosody-0.8.0.cfg.lua.patch b/net-im/prosody/files/prosody-0.8.0.cfg.lua.patch
new file mode 100644
index 0000000..a5cbab2
--- /dev/null
+++ b/net-im/prosody/files/prosody-0.8.0.cfg.lua.patch
@@ -0,0 +1,26 @@
+--- prosody.cfg.lua.dist.old 2011-01-13 02:29:32.000000000 +0100
++++ prosody.cfg.lua.dist 2011-01-14 17:17:28.000000000 +0100
+@@ -114,15 +114,20 @@
+ -- to update the logrotate config at /etc/logrotate.d/prosody
+ log = {
+ -- Log all error messages to prosody.err
+- error = "/var/log/prosody/prosody.err";
++ error = "/var/log/jabber/prosody.err";
+ -- Log everything of level "info" and higher (that is, all except "debug" messages)
+ -- to prosody.log
+- info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for more verbose logging
++ info = "/var/log/jabber/prosody.log"; -- Change 'info' to 'debug' for more verbose logging
+ --"*syslog"; -- Uncomment this for logging to syslog
+ }
+
+ -- Pidfile, used by prosodyctl and the init.d script
+-pidfile = "/var/run/prosody/prosody.pid";
++pidfile = "/var/run/jabber/prosody.pid";
++
++-- User and group, used for daemon
++prosody_user = "jabber";
++prosody_group = "jabber";
++
+
+ ----------- Virtual hosts -----------
+ -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.