summaryrefslogtreecommitdiff
path: root/community/prosody/fix-config.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/prosody/fix-config.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/prosody/fix-config.patch')
-rw-r--r--community/prosody/fix-config.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/prosody/fix-config.patch b/community/prosody/fix-config.patch
new file mode 100644
index 000000000..bd9a5d755
--- /dev/null
+++ b/community/prosody/fix-config.patch
@@ -0,0 +1,30 @@
+diff -wbBur prosody-0.7.0/prosody.cfg.lua.dist prosody-0.7.0.my/prosody.cfg.lua.dist
+--- prosody-0.7.0/prosody.cfg.lua.dist 2010-06-13 00:23:02.000000000 +0000
++++ prosody-0.7.0.my/prosody.cfg.lua.dist 2011-01-27 16:09:24.000000000 +0000
+@@ -21,6 +21,8 @@
+ -- (see http://prosody.im/doc/creating_accounts for info)
+ -- 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
+@@ -54,7 +56,7 @@
+ "register"; -- Allow users to register on this server using a client and change passwords
+
+ -- Other specific functionality
+- --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
++ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ --"console"; -- Opens admin telnet interface on localhost port 5582
+ --"bosh"; -- Enable BOSH clients, aka "Jabber over HTTP"
+ --"httpserver"; -- Serve static files from a directory over HTTP
+@@ -90,7 +92,7 @@
+
+ -- Logging configuration
+ -- For advanced logging see http://prosody.im/doc/logging
+-log = "prosody.log";
++log = "/var/log/prosody/prosody.log";
+ debug = false; -- Log debug messages?
+
+ ----------- Virtual hosts -----------