mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Move some SSL setup stuff around and that
This commit is contained in:
parent
cc3f2d9888
commit
b4a75e8c1b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user