Skip to content

Instantly share code, notes, and snippets.

@cmrd-senya
Last active April 3, 2018 23:27
Show Gist options
  • Save cmrd-senya/d666852a72170e365e6bc7094c17b318 to your computer and use it in GitHub Desktop.
Save cmrd-senya/d666852a72170e365e6bc7094c17b318 to your computer and use it in GitHub Desktop.
Prosody telnet command to reload all modules

Prosody telnet command to reload all modules

> for _, mod in pairs(require"core.configmanager".get("*", "modules_enabled")) do require"core.modulemanager".reload("*", mod) end

Reference

Prosody telnet doc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment