Ensure correct prosody modules are loaded
This commit is contained in:
parent
fdef7c93d7
commit
d96d5bcf23
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue