1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 18:41:32 -05:00

Move some SSL setup stuff around and that

This commit is contained in:
HeyJack 2020-10-15 16:10:22 +01:00
parent cc3f2d9888
commit b4a75e8c1b

View File

@ -1784,8 +1784,7 @@ ssl_certs(){
fi fi
elif [ "$installoption" = "3" ]; then 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 - (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 elif [ "$installoption" = "4" ]; then
if [ "$webserver" = "1" ]; 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 - (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 fi
elif [ "$installoption" = "5" ]; then elif [ "$installoption" = "5" ]; then
@ -2127,11 +2126,11 @@ case $installoption in
;; ;;
9) upgrade_pterodactyl_1.0 9) upgrade_pterodactyl_1.0
;; ;;
10) theme_options 10) theme_options
upgrade_pterodactyl_0.7.19 upgrade_pterodactyl_0.7.19
theme theme
;; ;;
11) upgrade_daemon 11) upgrade_daemon
;; ;;
12) migrate_wings 12) migrate_wings
;; ;;