aports/community/prosody/prosody.cfg.lua.patch
2023-02-23 01:30:25 +01:00

31 lines
1.2 KiB
Diff

diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist
index 267a650..ce00478 100644
--- a/prosody.cfg.lua.dist
+++ b/prosody.cfg.lua.dist
@@ -12,6 +12,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 = "/run/prosody/prosody.pid"
---------- Server-wide settings ----------
-- Settings in this section apply to the whole server and are the default settings
@@ -183,13 +185,12 @@ 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 when running in the foreground
}
-
-- Uncomment to enable statistics
-- For more info see https://prosody.im/doc/statistics
-- statistics = "internal"