prosody modules in two directories

This commit is contained in:
Bob Mottram 2018-01-21 10:12:32 +00:00
parent 980320f9e5
commit fa493156d4
1 changed files with 2 additions and 0 deletions

View File

@ -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