summaryrefslogtreecommitdiff
path: root/net-im/prosody/files/prosody-0.8.0.cfg.lua.patch
blob: a5cbab26c4d8a2a10c3c9e1c3e27ed5128b8f8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.