summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2024-02-28 21:46:08 +0000
committerMatthew Fennell <matthew@fennell.dev>2024-02-28 21:46:08 +0000
commit9f0da9a2171547b101eaefcd17b75daa04669bc6 (patch)
tree2287f5a5e9700c9383b25e90f8251164a547bb57
parent9338ea6c33debf339dcc68690367567be5c69ab7 (diff)
Add reload_modules community module
My ACME scripts currently reload (instead of restarting) prosody after installing new certificates. Therefore, I would like to make sure that these new certificates are picked up on such an action.
-rw-r--r--files/prosody.cfg.lua.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/files/prosody.cfg.lua.j2 b/files/prosody.cfg.lua.j2
index 53d3d48..0298ba0 100644
--- a/files/prosody.cfg.lua.j2
+++ b/files/prosody.cfg.lua.j2
@@ -27,6 +27,7 @@ modules_enabled = {
"proxy65";
"register";
"register_apps";
+ "reload_modules";
"roster";
"saslauth";
"server_contact_info";
@@ -40,6 +41,10 @@ modules_enabled = {
"version";
}
+reload_modules = {
+ "tls";
+}
+
modules_disabled = { }
pidfile = "/run/prosody/prosody.pid";