prosody modules in two directories
This commit is contained in:
parent
980320f9e5
commit
fa493156d4
|
@ -817,8 +817,10 @@ function update_default_domain {
|
||||||
chmod 600 /etc/prosody/prosody.cfg.lua
|
chmod 600 /etc/prosody/prosody.cfg.lua
|
||||||
if [ -d $INSTALL_DIR/prosody-modules ]; then
|
if [ -d $INSTALL_DIR/prosody-modules ]; then
|
||||||
cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
|
cp -r $INSTALL_DIR/prosody-modules/* /var/lib/prosody/prosody-modules/
|
||||||
|
cp -r $INSTALL_DIR/prosody-modules/* /usr/lib/prosody/modules/
|
||||||
fi
|
fi
|
||||||
chown -R prosody:prosody /var/lib/prosody/prosody-modules
|
chown -R prosody:prosody /var/lib/prosody/prosody-modules
|
||||||
|
chown -R prosody:prosody /usr/lib/prosody/modules
|
||||||
systemctl reload prosody
|
systemctl reload prosody
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue