diff --git a/certbot/README.md b/certbot/README.md index 86cc398..65dec05 100644 --- a/certbot/README.md +++ b/certbot/README.md @@ -30,7 +30,8 @@ $ docker-compose run --rm --service-ports certbot >>> domains: easypi.info,blog.easypi.info,wiki.easypi.info # renew keys (headless) -$ docker-compose run --rm --service-ports certbot renew +$ crontab -l +0 0 * * * cd ~/fig/certbot && docker-compose run --rm certbot renew >> renew.log # list keys $ tree /etc/letsencrypt/live/ diff --git a/certbot/crontab.txt b/certbot/crontab.txt new file mode 100644 index 0000000..d9255ab --- /dev/null +++ b/certbot/crontab.txt @@ -0,0 +1 @@ +0 0 * * * cd ~/fig/certbot && docker-compose run --rm certbot renew >> renew.log