<commit_before>#!/bin/bash

#colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color

#times we tried curl
TRIES=0

#maximum number of retries
MAXRETRIES=5

#timeout
TIMEOUT=5

printf "${GREEN}Hello! renewAndSendToProxy runs. Today is $(date)${NC}\n"

#full path is needed or it is not started when run as cron
/root/certbot-auto renew > /var/log/dockeroutput.log

printf "Docker Flow: Proxy DNS-Name: ${GREEN}$PROXY_ADDRESS${NC}\n";

for d in /etc/letsencrypt/live/*/ ; do
    #move to directory
    cd $d

    #get directory name (which is the name of the regular domain)
    folder=${PWD##*/}
    printf "current folder name is: $folder\n"<commit_msg>Add --no-bootstrap and --no-self-upgrade to certbot-auto renew<commit_after>#!/bin/bash

#colors
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color

#times we tried curl
TRIES=0

#maximum number of retries
MAXRETRIES=5

#timeout
TIMEOUT=5

printf "${GREEN}Hello! renewAndSendToProxy runs. Today is $(date)${NC}\n"

#full path is needed or it is not started when run as cron

#--no-bootstrap: prevent the certbot-auto script from installing OS-level dependencies
#--no-self-upgrade: revent the certbot-auto script from upgrading itself to newer released versions
/root/certbot-auto renew --no-bootstrap --no-self-upgrade > /var/log/dockeroutput.log

printf "Docker Flow: Proxy DNS-Name: ${GREEN}$PROXY_ADDRESS${NC}\n";

for d in /etc/letsencrypt/live/*/ ; do
    #move to directory
    cd $d

    #get directory name (which is the name of the regular domain)
    folder=${PWD##*/}
    printf "current folder name is: $folder\n"
{'fraction_non_alphanumeric': 0.135625, 'fraction_numerical': 0.02375, 'mean_word_length': 4.0664556962025316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6777746', 'n_tokens_mistral': 593, 'n_tokens_neox': 560, 'n_words': 180}