diff --git a/xlxd-debian-installer.sh b/xlxd-debian-installer.sh index a7d2adc..fc3171e 100755 --- a/xlxd-debian-installer.sh +++ b/xlxd-debian-installer.sh @@ -121,24 +121,26 @@ 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 /xlxd/ a2ensite $XLXDOMAIN -if [ $VERSION = 11 ] -then - snap install core - snap refresh core - snap install --classic certbot - ln -s /snap/bin/certbot /usr/bin/certbot - ufw allow http - ufw allow https - systemctl restart apache2 - certbot --apache -else - echo "" - echo "Ahh! Somthing went wrong with the snapd cerbot app, your SSL certificate" - echo "The output above is the only indication as to why it might have failed. " - echo "Run certbot --apache again to restart certbot installation" - echo "" - exit 0 -fi +# revert certbot make this an option! for another day +#if [ $VERSION = 11 ] +#then +# snap install core +# snap refresh core +# snap install --classic certbot +# ln -s /snap/bin/certbot /usr/bin/certbot +# ufw allow http +# ufw allow https +# systemctl restart apache2 +# certbot --apache +#else +# echo "" +# echo "Ahh! Somthing went wrong with the snapd cerbot app, your SSL certificate" +# echo "The output above is the only indication as to why it might have failed. " +# echo "Run certbot --apache again to restart certbot installation" +# echo "" +# exit 0 +#fi +# end of certbot clear echo "Starting XLXD....." sleep 2