|
@@ -817,8 +817,10 @@ function update_default_domain {
|
817
|
817
|
chmod 600 /etc/prosody/prosody.cfg.lua
|
818
|
818
|
if [ -d $INSTALL_DIR/prosody-modules ]; then
|
819
|
819
|
cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
|
|
820
|
+ cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
|
820
|
821
|
fi
|
821
|
822
|
chown -R prosody:prosody /var/lib/prosody/prosody-modules
|
|
823
|
+ chown -R prosody:prosody /usr/lib/prosody/modules
|
822
|
824
|
systemctl reload prosody
|
823
|
825
|
fi
|
824
|
826
|
|