Skip to content
Snippets Groups Projects
Commit fa493156 authored by Bob Mottram's avatar Bob Mottram
Browse files

prosody modules in two directories

parent 980320f9
No related branches found
No related tags found
No related merge requests found
......@@ -817,8 +817,10 @@ function update_default_domain {
chmod 600 /etc/prosody/prosody.cfg.lua
if [ -d $INSTALL_DIR/prosody-modules ]; then
cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
fi
chown -R prosody:prosody /var/lib/prosody/prosody-modules
chown -R prosody:prosody /usr/lib/prosody/modules
systemctl reload prosody
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment