From fadb657195450d8404fb05b48beaff2a143f9ce7 Mon Sep 17 00:00:00 2001 From: kev Date: Mon, 27 Mar 2017 11:07:04 +0800 Subject: [PATCH] update certbot --- certbot/README.md | 3 ++- certbot/crontab.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 certbot/crontab.txt 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