diff --git a/src/freedombone-app-xmpp b/src/freedombone-app-xmpp index 0f806f52..2ae11a3b 100755 --- a/src/freedombone-app-xmpp +++ b/src/freedombone-app-xmpp @@ -433,6 +433,9 @@ function upgrade_xmpp { set_completion_param "prosody_filename" "${prosody_filename}" fi + cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/ + chown -R prosody:prosody /var/lib/prosody/prosody-modules + systemctl restart prosody } diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 77b8d0a6..02feff85 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -782,6 +782,8 @@ function update_default_domain { chown -R prosody:default /etc/prosody chmod -R 700 /etc/prosody/certs/* chmod 600 /etc/prosody/prosody.cfg.lua + cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/ + chown -R prosody:prosody /var/lib/prosody/prosody-modules systemctl reload prosody fi