[PATCH] services: certbot: Add certbot-configuration-package to profile.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Richard Sent
Owner
unassigned
Submitted by
Richard Sent
Severity
normal
R
R
Richard Sent wrote on 8 May 14:00 +0200
(address . guix-patches@gnu.org)(name . Richard Sent)(address . richard@freakingpenguin.com)
59b4aeb213fce0283235822576aa51390e6ba4d0.1715169642.git.richard@freakingpenguin.com
As the manual suggests running a certbot command to view the issued
certificates, add it to the profile.

gnu/services/certbot.scm (certbot-service-type): Extend profile-service-type
with certbot-configuration-package.

Change-Id: I92618597bbdc8d838420b2e0f82de601b0bc609b
---
Hi Guix!

This is just a small enhancement to certbot-service-type to make it
easier to use. The manual suggests running a certbot command to view
the issued certificates ($ certbot certificates). So, adding the
configured certbot package to the profile improves ease of use.

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

Toggle diff (17 lines)
diff --git a/gnu/services/certbot.scm b/gnu/services/certbot.scm
index f287c8367f..b276c49e0f 100644
--- a/gnu/services/certbot.scm
+++ b/gnu/services/certbot.scm
@@ -350,6 +350,8 @@ (define certbot-service-type
(extensions
(list (service-extension nginx-service-type
certbot-nginx-server-configurations)
+ (service-extension profile-service-type
+ (compose list certbot-configuration-package))
(service-extension activation-service-type
certbot-activation)
(service-extension mcron-service-type

base-commit: da41a8f5e85774e2a507d821b5d52e600fb9d1d7
--
2.41.0
L
L
Ludovic Courtès wrote on 3 Sep 11:51 +0200
(name . Richard Sent)(address . richard@freakingpenguin.com)(address . 70828-done@debbugs.gnu.org)
87mskphxpp.fsf@gnu.org
Hi,

Richard Sent <richard@freakingpenguin.com> skribis:

Toggle quote (15 lines)
> As the manual suggests running a certbot command to view the issued
> certificates, add it to the profile.
>
> gnu/services/certbot.scm (certbot-service-type): Extend profile-service-type
> with certbot-configuration-package.
>
> Change-Id: I92618597bbdc8d838420b2e0f82de601b0bc609b
> ---
> Hi Guix!
>
> This is just a small enhancement to certbot-service-type to make it
> easier to use. The manual suggests running a certbot command to view
> the issued certificates ($ certbot certificates). So, adding the
> configured certbot package to the profile improves ease of use.

Makes sense to me. Finally applied, thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 70828@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70828
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch