File prosody-cfg.patch of Package prosody
Index: prosody-13.0.2/prosody.cfg.lua.dist
===================================================================
--- prosody-13.0.2.orig/prosody.cfg.lua.dist
+++ prosody-13.0.2/prosody.cfg.lua.dist
@@ -97,6 +97,8 @@ modules_disabled = {
-- "s2s"; -- Handle server-to-server connections
}
+-- Unix specific
+pidfile = "@@PIDDIR@@/prosody/prosody.pid"
-- Server-to-server authentication
-- Require valid certificates for server-to-server connections?
@@ -185,8 +187,8 @@ archive_expires_after = "1w" -- Remove a
-- 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";
+ info = "/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging
+ error = "/var/log/prosody/prosody.err";
-- "*syslog"; -- Uncomment this for logging to syslog
-- "*console"; -- Log to the console, useful for debugging when running in the foreground
}