From b4a75e8c1bf0c6324ff48fa7e7bb8d22a7fce6e8 Mon Sep 17 00:00:00 2001 From: HeyJack Date: Thu, 15 Oct 2020 16:10:22 +0100 Subject: [PATCH] Move some SSL setup stuff around and that --- install.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index af62008..535ab78 100644 --- a/install.sh +++ b/install.sh @@ -1784,8 +1784,7 @@ ssl_certs(){ fi elif [ "$installoption" = "3" ]; then (crontab -l ; echo '0 0,12 * * * certbot renew --pre-hook "ufw allow 80" --pre-hook "service wings stop" --post-hook "ufw deny 80" --post-hook "service wings restart" >> /dev/null 2>&1')| crontab - - elif [ "$installoption" = "3" ]; then - if [ "$webserver" = "1" ]; then + elif [ "$installoption" = "4" ]; then (crontab -l ; echo '0 0,12 * * * certbot renew --pre-hook "ufw allow 80" --pre-hook "service wings stop" --post-hook "ufw deny 80" --post-hook "service wings restart" >> /dev/null 2>&1')| crontab - fi elif [ "$installoption" = "5" ]; then @@ -2127,11 +2126,11 @@ case $installoption in ;; 9) upgrade_pterodactyl_1.0 ;; - 10) theme_options + 10) theme_options upgrade_pterodactyl_0.7.19 theme ;; - 11) upgrade_daemon + 11) upgrade_daemon ;; 12) migrate_wings ;;