emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58024: closed ([PATCH] gnu: services: certbot: Add missing activatio


From: GNU bug Tracking System
Subject: bug#58024: closed ([PATCH] gnu: services: certbot: Add missing activation directory)
Date: Thu, 29 Sep 2022 20:57:01 +0000

Your message dated Thu, 29 Sep 2022 22:56:15 +0200
with message-id <87ill599xs.fsf@gnu.org>
and subject line Re: bug#58024: [PATCH] gnu: services: certbot: Add missing 
activation directory
has caused the debbugs.gnu.org bug report #58024,
regarding [PATCH] gnu: services: certbot: Add missing activation directory
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
58024: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58024
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: services: certbot: Add missing activation directory Date: Fri, 23 Sep 2022 12:27:03 +0200
When trying to run certbot, the mcron command fails, as
 /etc/letsencrypt/live is missing. This patch Adds it into the certbot
 activation service.

 ---
 gnu/services/certbot.scm | 2 ++
 1 file changed, 2 insertions(+)

 diff --git a/gnu/services/certbot.scm b/gnu/services/certbot.scm
 index 1c819bef48..7dfdad9874 100644
 --- a/gnu/services/certbot.scm
 +++ b/gnu/services/certbot.scm
 @@ -154,6 +154,7 @@ (define (certbot-renewal-jobs config)
 
 (define (certbot-activation config)
   (let* ((certbot-directory "/var/lib/certbot")
 +         (certbot-cert-directory "/etc/letsencrypt/live")
          (script (in-vicinity certbot-directory "renew-certificates"))
          (message (format #f (G_ "~a may need to be run~%") script)))
     (match config
 @@ -164,6 +165,7 @@ (define (certbot-activation config)
              (use-modules (guix build utils))
              (mkdir-p #$webroot)
              (mkdir-p #$certbot-directory)
 +             (mkdir-p #$certbot-cert-directory)
              (copy-file #$(certbot-command config) #$script)
              (display #$message)))))))
 
 -- 
 2.37.3



--- End Message ---
--- Begin Message --- Subject: Re: bug#58024: [PATCH] gnu: services: certbot: Add missing activation directory Date: Thu, 29 Sep 2022 22:56:15 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
Hi,

Mája Tomášek <maya.tomasek@disroot.org> skribis:

> When trying to run certbot, the mcron command fails, as
>  /etc/letsencrypt/live is missing. This patch Adds it into the certbot
>  activation service.

I adjusted the commit log to follow our conventions and applied it.

Thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]