#120: adding a certs directory to avoid Prosody error logs.

This commit is contained in:
John Livingston
2022-12-06 17:19:53 +01:00
parent 34ebfb4c67
commit 24696acdbe
5 changed files with 18 additions and 1 deletions

View File

@ -63,6 +63,9 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise<Pro
log: path.resolve(dir, 'prosody.log'),
config: path.resolve(dir, 'prosody.cfg.lua'),
data: path.resolve(dir, 'data'),
// Certificates dir for Prosody.
// Note: not used yet, but we create the directory to avoid errors in prosody logs.
certs: path.resolve(dir, 'certs'),
modules: path.resolve(__dirname, '../../prosody-modules'),
avatars: path.resolve(__dirname, '../../avatars'),
exec,