--- prosody.cfg.lua.dist.orig 2019-01-07 19:34:23.000000000 +0400 +++ prosody.cfg.lua.dist 2019-01-28 01:48:22.000000000 +0400 @@ -16,6 +16,7 @@ ---------- Server-wide settings ---------- -- Settings in this section apply to the whole server and are the default settings -- for any virtual hosts +pidfile = "@@PREFIX@@/var/run/prosody/prosody.pid" -- This is a (by default, empty) list of accounts that are admins -- for the server. Note that you must create the accounts separately @@ -183,8 +184,8 @@ -- 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 = "@@PREFIX@@/var/log/prosody/prosody.log"; -- Change 'info' to 'debug' for verbose logging + error = "@@PREFIX@@/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 }