git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cat << EOF > /usr/local/etc/le-renew-webroot.ini
rsa-key-size = 4096
email = [email protected]
domains = fodor.xyz
webroot-path = /var/www/fodor.xyz/public/
EOF
curl -L -o /usr/local/sbin/le-renew-webroot https://gist.githubusercontent.com/thisismitch/e1b603165523df66d5cc/raw/fbffbf358e96110d5566f13677d9bd5f4f65794c/le-renew-webroot # this should be a bash heredoc
chmod +x /usr/local/sbin/le-renew-webroot
echo "30 2 * * 1 /usr/local/sbin/le-renew-webroot >> /var/log/le-renewal.log
" > /etc/cron.d/letsencrypt