aboutsummaryrefslogtreecommitdiffstats
path: root/community/prosody/prosody.cfg.lua.patch
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:32:16 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:32:16 +0000
commit749d2e684cbb034cff718ca48dd8beb2e99151b6 (patch)
tree016d293ca82ab177bf4dee33c44d326ece430e66 /community/prosody/prosody.cfg.lua.patch
parent73dba6909782bbc75c29e3da183844320f43e06d (diff)
downloadaports-749d2e684cbb034cff718ca48dd8beb2e99151b6.tar.bz2
aports-749d2e684cbb034cff718ca48dd8beb2e99151b6.tar.xz
community/prosody: moved from testing
Diffstat (limited to 'community/prosody/prosody.cfg.lua.patch')
-rw-r--r--community/prosody/prosody.cfg.lua.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/prosody/prosody.cfg.lua.patch b/community/prosody/prosody.cfg.lua.patch
new file mode 100644
index 0000000000..444eeb6f82
--- /dev/null
+++ b/community/prosody/prosody.cfg.lua.patch
@@ -0,0 +1,34 @@
+diff -wbBur prosody-0.9.0.q/prosody.cfg.lua.dist prosody-0.9.0/prosody.cfg.lua.dist
+--- prosody-0.9.0.q/prosody.cfg.lua.dist 2013-08-19 23:37:36.000000000 +0400
++++ prosody-0.9.0/prosody.cfg.lua.dist 2013-08-21 16:17:49.175521891 +0400
+@@ -11,6 +11,8 @@
+ -- The only thing left to do is rename this file to remove the .dist ending, and fill in the
+ -- blanks. Good luck, and happy Jabbering!
+
++daemonize = true
++pidfile = "/var/run/prosody/prosody.pid"
+
+ ---------- Server-wide settings ----------
+ -- Settings in this section apply to the whole server and are the default settings
+@@ -63,7 +65,7 @@
+ --"http_files"; -- Serve static files from a directory over HTTP
+
+ -- Other specific functionality
+- --"posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
++ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ --"groups"; -- Shared roster support
+ --"announce"; -- Send announcement to all online users
+ --"welcome"; -- Welcome users who register accounts
+@@ -139,9 +141,9 @@
+ -- 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";
+- -- "*syslog"; -- Uncomment this for logging to syslog
++ -- info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging
++ -- error = "prosody.err";
++ "*syslog"; -- Uncomment this for logging to syslog
+ -- "*console"; -- Log to the console, useful for debugging with daemonize=false
+ }
+