Manually fix permissions and add package

This commit is contained in:
Luis Guzmán 2020-08-31 03:01:26 -05:00
parent 7d0021bc6e
commit 1db1cb8ed0
1 changed files with 5 additions and 0 deletions

View File

@ -224,6 +224,7 @@ apt-get -y install \
git \ git \
htop \ htop \
letsencrypt \ letsencrypt \
net-tools \
unzip \ unzip \
wget wget
@ -896,6 +897,10 @@ sed -i "s| main_muc = \"conference.|-- main_muc = \"conference.|"
#EO_TF #EO_TF
fi fi
# Fix prosody not able to read SSL Certs
chown -R root:prosody /etc/prosody/certs/
chmod -R 650 /etc/prosody/certs/
#SSL workaround #SSL workaround
if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")" -eq 1 ]; then if [ "$(dpkg-query -W -f='${Status}' nginx 2>/dev/null | grep -c "ok installed")" -eq 1 ]; then
ssl_wa nginx nginx $DOMAIN $WS_CONF $SYSADMIN_EMAIL $DOMAIN ssl_wa nginx nginx $DOMAIN $WS_CONF $SYSADMIN_EMAIL $DOMAIN