Changes.
This commit is contained in:
parent
59b920e8b9
commit
46c2ba5701
@ -49,6 +49,8 @@ renew_command=${renew_command//#dry_run_arg#/$dry_run_arg}
|
||||
|
||||
echo ""
|
||||
|
||||
certbotNotice="It's not a dry-run, therefore don't keep generating/renewing certificates (more than 5 in a day), as certbot has rate limitations.";
|
||||
|
||||
#Check if certificate exist
|
||||
live_cert_file="${live_certs_dir}/cert.pem"
|
||||
if [ -d "$live_certs_dir" ] && [ -f "$live_cert_file" ]
|
||||
@ -63,7 +65,7 @@ then
|
||||
if [ "$dry_run" = true ] ; then
|
||||
echo -e "\n${separator}\n[DRY-RUN ENABLED]\n${separator}\n"
|
||||
else
|
||||
echo -e "\n${separator}\n"
|
||||
echo -e "\n${separator}\n[${certbotNotice}]\n${separator}\n"
|
||||
fi
|
||||
echo -e "Output from renew command:\n"
|
||||
|
||||
@ -98,7 +100,7 @@ else
|
||||
if [ "$dry_run" = true ] ; then
|
||||
echo -e "\n${separator}\n[DRY-RUN ENABLED]\n${separator}\n"
|
||||
else
|
||||
echo -e "\n${separator}\n"
|
||||
echo -e "\n${separator}\n[${certbotNotice}]\n${separator}\n"
|
||||
fi
|
||||
echo -e "Output from new ssl command:\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user