GNU bug report logs - #66360
[PATCH] doc: Use herd for cerbot deploy hook example.

Previous Next

Package: guix-patches;

Reported by: Bruno Victal <mirai <at> makinata.eu>

Date: Thu, 5 Oct 2023 13:23:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 66360-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Bruno Victal <mirai <at> makinata.eu>
Cc: 66360-done <at> debbugs.gnu.org
Subject: Re: [bug#66360] [PATCH] doc: Use herd for cerbot deploy hook example.
Date: Sat, 14 Oct 2023 22:28:59 +0200
Hi,

Bruno Victal <mirai <at> makinata.eu> skribis:

> * doc/guix.texi (Certificate Services): Replace PID file based example with
> one using (gnu services herd). Rename %nginx-deploy-hook to
> %certbot-deploy-hook.

Applied, thanks!

> +(define %certbot-deploy-hook
> +  (program-file "certbot-deploy-hook.scm"
> +    (with-imported-modules '((gnu services herd))
> +      #~(begin
> +          (use-modules (gnu services herd))
> +          (with-shepherd-action 'nginx ('reload) result result)))))

Should we make it the default ‘deploy-hook’ value in
<certificate-configuration>?  I’ve always been frustrated that
‘certbot-service-type’ doesn’t quite work out of the box.

Ludo’.




This bug report was last modified 1 year and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.