feat(prosody): new file

This commit is contained in:
anael committed 2026-11-22 16:42:12 +01:00
1 parent 08c2bbd370
commit 966f4d8848
4 files changed
+341

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
local data_path = '/var/lib/prosody';
local vhost = {
"accounts",
"account_details",
"roster",
"vcard",
"private",
"blocklist",
"privacy",
"archive-archive",
"offline-archive",
"pubsub_nodes-pubsub",
"pep-pubsub",
}
local muc = {
"persistent",
"config",
"state",
"muc_log-archive",
};
input {
hosts = {
["example.com"] = vhost;
["conference.example.com"] = muc;
};
type = "internal";
path = data_path;
}
output {
type = "sql";
driver = "SQLite3";
database = data_path.."/prosody.sqlite";
}
--[[
input {
type = "internal";
path = data_path;
}
output {
type = "sql";
driver = "SQLite3";
database = data_path.."/prosody.sqlite";
}
]]