summaryrefslogtreecommitdiff
path: root/user/prosody/prosody.cfg.lua.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 17:03:32 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-10-09 21:37:43 -0500
commitcef60d848566b56692a9604df7c4e53c8b5605c6 (patch)
treee268762465cb0e967a52f3c9fb046616ef674e8a /user/prosody/prosody.cfg.lua.patch
parent5b5c7a6c1cdb7f83682201c8521c31e7e35ce6db (diff)
downloadpackages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.gz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.bz2
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.tar.xz
packages-cef60d848566b56692a9604df7c4e53c8b5605c6.zip
user/prosody: new package
Diffstat (limited to 'user/prosody/prosody.cfg.lua.patch')
-rw-r--r--user/prosody/prosody.cfg.lua.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/user/prosody/prosody.cfg.lua.patch b/user/prosody/prosody.cfg.lua.patch
new file mode 100644
index 000000000..ff74c5172
--- /dev/null
+++ b/user/prosody/prosody.cfg.lua.patch
@@ -0,0 +1,36 @@
+diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
+index a0fc6c9..23a36ac 100644
+--- a/prosody.cfg.lua.dist
++++ b/prosody.cfg.lua.dist
+@@ -13,6 +13,9 @@
+ -- 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
+ -- for any virtual hosts
+@@ -86,7 +89,7 @@ modules_disabled = {
+ -- "offline"; -- Store offline messages
+ -- "c2s"; -- Handle client connections
+ -- "s2s"; -- Handle server-to-server connections
+- -- "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
++ "posix"; -- POSIX functionality, sends server to background, enables syslog, etc.
+ }
+
+ -- Disable account creation by default, for security
+@@ -161,9 +164,9 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week
+ -- Logging configuration
+ -- For advanced logging see https://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
+ }
+