diff --git a/generate-certs.sh b/generate-certs.sh index 8918159..2bb6d1d 100755 --- a/generate-certs.sh +++ b/generate-certs.sh @@ -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"