Compare commits
3 Commits
1c33a5d1e8
...
47d9d8d166
Author | SHA1 | Date |
---|---|---|
M0VUB | 47d9d8d166 | |
M0VUB | 4578d78a59 | |
M0VUB | 6b33b3171e |
|
@ -57,7 +57,7 @@ then
|
||||||
apt-get -y install $DEP2
|
apt-get -y install $DEP2
|
||||||
elif [ $VERSION = 11 ]
|
elif [ $VERSION = 11 ]
|
||||||
then
|
then
|
||||||
apt install -y $DEP3
|
apt-get install -y $DEP3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "------------------------------------------------------------------------------"
|
echo "------------------------------------------------------------------------------"
|
||||||
|
@ -121,25 +121,27 @@ sed -i "s/ysf-xlxd/xlxd/g" /etc/apache2/sites-available/$XLXDOMAIN.conf
|
||||||
chown -R www-data:www-data /var/www/xlxd/
|
chown -R www-data:www-data /var/www/xlxd/
|
||||||
chown -R www-data:www-data /xlxd/
|
chown -R www-data:www-data /xlxd/
|
||||||
a2ensite $XLXDOMAIN
|
a2ensite $XLXDOMAIN
|
||||||
if [ $VERSION = 11 ]
|
# revert certbot make this an option! for another day
|
||||||
then
|
#if [ $VERSION = 11 ]
|
||||||
snap install core
|
#then
|
||||||
snap refresh core
|
# snap install core
|
||||||
snap install --classic certbot
|
# snap refresh core
|
||||||
ln -s /snap/bin/certbot /usr/bin/certbot
|
# snap install --classic certbot
|
||||||
ufw allow http
|
# ln -s /snap/bin/certbot /usr/bin/certbot
|
||||||
ufw allow https
|
# ufw allow http
|
||||||
systemctl restart apache2
|
# ufw allow https
|
||||||
certbot --apache
|
# systemctl restart apache2
|
||||||
else
|
# certbot --apache
|
||||||
echo ""
|
#else
|
||||||
echo "Ahh! Somthing went wrong with the snapd cerbot app, your SSL certificate"
|
# echo ""
|
||||||
echo "The output above is the only indication as to why it might have failed. "
|
# echo "Ahh! Somthing went wrong with the snapd cerbot app, your SSL certificate"
|
||||||
echo "Run certbot --apache again to restart certbot installation"
|
# echo "The output above is the only indication as to why it might have failed. "
|
||||||
echo ""
|
# echo "Run certbot --apache again to restart certbot installation"
|
||||||
exit 0
|
# echo ""
|
||||||
fi
|
# exit 0
|
||||||
clear
|
#fi
|
||||||
|
# end of certbot
|
||||||
|
# clear
|
||||||
echo "Starting XLXD....."
|
echo "Starting XLXD....."
|
||||||
sleep 2
|
sleep 2
|
||||||
figlet "XLXD Reflector"
|
figlet "XLXD Reflector"
|
||||||
|
|
Loading…
Reference in New Issue