2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

hydra: services: Really run "certbot renew" twice per week.

* hydra/modules/sysadmin/services.scm (%certbot-job): Use Vixie cron
syntax and really run twice per week.
This commit is contained in:
Ludovic Courtès 2022-07-11 17:51:02 +02:00
parent 30c1930dd7
commit d436b8fa9a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -529,9 +529,7 @@ to a selected directory.")
(define %certbot-job
;; Attempt to renew the Let's Encrypt certificate twice a week.
#~(job (lambda (now)
(next-day-from (next-hour-from now '(3))
'(2 5)))
#~(job "30 0 * * 2,5"
(string-append #$certbot "/bin/certbot renew \
--webroot --webroot-path /var/www")))