updated web permissions

This commit is contained in:
root 2019-05-12 11:59:30 -05:00
parent 9ab758ba7e
commit 6d2d403b2b

View File

@ -97,6 +97,7 @@ echo "Copying directives and reloading apache... "
cp $DIRDIR/templates/apache.tbd.conf /etc/apache2/sites-available/$XLXDOMAIN.conf cp $DIRDIR/templates/apache.tbd.conf /etc/apache2/sites-available/$XLXDOMAIN.conf
sed -i "s/apache.tbd/$XLXDOMAIN/g" /etc/apache2/sites-available/$XLXDOMAIN.conf sed -i "s/apache.tbd/$XLXDOMAIN/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
chown -R www-data: /var/www/xlxd/
a2ensite $XLXDOMAIN a2ensite $XLXDOMAIN
service xlxd start service xlxd start
systemctl restart apache2 systemctl restart apache2