I created a docker container that has nginx with letsencrypt built-in. It is running on ubuntu. Letsencrypt is cloned from the git repo. I have a couple of questions about how to properly update it.
I have been running a cron script every night that does the following:
git pull (to update the local files)
letsencrypt-auto -h (to let the script update its dependencies)
figure out the age of the certs, if older than 60 days, renew using letsencrypt-auto, if not, do nothing
The above was working fine until yesterday, when the letsencrypt-auto script got updated to 0.5.0. Now, git pull is giving errors due to locally modified file (letsencrypt-auto).
What is the best protocol for keeping letsencrypt client up-to-date?