From d28dce2d083991eadad47d4dcaf9cd033c1cb104 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Mon, 14 Oct 2024 10:18:57 -0700 Subject: [PATCH] split certbot updates into individual parts --- etc/cron.d/certbot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/cron.d/certbot b/etc/cron.d/certbot index 2afb9ae..600c8a4 100644 --- a/etc/cron.d/certbot +++ b/etc/cron.d/certbot @@ -7,4 +7,7 @@ PATH=/opt/certbot/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/b 0 0,12 * * * root test -x /opt/certbot/bin/certbot && test -L /usr/bin/certbot && perl -e 'sleep int(rand(43200))' && certbot -q renew --no-random-sleep-on-renew # Upgrade certbot monthly -45 0 1 * * root /opt/certbot/bin/pip install --upgrade certbot certbot-apache certbot-dns-powerdns pyyaml==5.3.1 +43 0 1 * * root /opt/certbot/bin/pip install --upgrade --quiet pip +45 0 1 * * root /opt/certbot/bin/pip install --upgrade --quiet certbot certbot-apache +# certbot-dns-powerdns, part of powerdns-tools +47 0 1 * * root if [ -d /opt/certbot/lib/python3.11/site-packages/certbot_dns_powerdns ]; then /opt/certbot/bin/pip install --upgrade --quiet certbot-dns-powerdns pyyaml==5.3.1; fi