From 83f7fe4b8402bab171d110703a1b1115efbc9b28 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Tue, 14 Apr 2026 22:32:43 +0200 Subject: cleaned up many scrits and deleted some that were of no use; renamed a lot --- straper/db/public/prosody/etc-prosody/README | 9 ---- .../db/public/prosody/etc-prosody/migrator.cfg.lua | 60 ---------------------- 2 files changed, 69 deletions(-) delete mode 100644 straper/db/public/prosody/etc-prosody/README delete mode 100644 straper/db/public/prosody/etc-prosody/migrator.cfg.lua (limited to 'straper/db/public/prosody') diff --git a/straper/db/public/prosody/etc-prosody/README b/straper/db/public/prosody/etc-prosody/README deleted file mode 100644 index b1e8eb1..0000000 --- a/straper/db/public/prosody/etc-prosody/README +++ /dev/null @@ -1,9 +0,0 @@ -Prosody configuration directory -=============================== - -The configuration file /etc/prosody/prosody.cfg.lua should contain -only global settings. - -Per-host configuration files should be placed in /etc/prosody/conf.avail/, -and the active ones should be linked in /etc/prosody/conf.d/ - diff --git a/straper/db/public/prosody/etc-prosody/migrator.cfg.lua b/straper/db/public/prosody/etc-prosody/migrator.cfg.lua deleted file mode 100644 index 75a8ce2..0000000 --- a/straper/db/public/prosody/etc-prosody/migrator.cfg.lua +++ /dev/null @@ -1,60 +0,0 @@ -local data_path = '/var/lib/prosody'; - -local vhost = { - "accounts", - "account_details", - "account_roles", - "roster", - "vcard", - "private", - "blocklist", - "privacy", - "archive-archive", - "offline-archive", - "pubsub_nodes-pubsub", - "pep-pubsub", - "cron", - "smacks_h", -} -local muc = { - "persistent", - "config", - "state", - "muc_log-archive", - "cron", -}; -local upload = { - "uploads-archive", - "upload_stats", - "cron", -} - -input { - hosts = { - ["example.com"] = vhost; - ["conference.example.com"] = muc; - ["share.example.com"] = upload; - }; - 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"; -} - -]] -- cgit v1.3