Gentoo Archives: gentoo-user

From: Ralph Seichter <m16+gentoo@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] certbot confusion
Date: Sat, 26 Aug 2017 10:50:14
Message-Id: 8c2017a2-c194-bc7a-83ff-135b195dc3ab@monksofcool.net
In Reply to: [gentoo-user] certbot confusion by Ian Zimmerman
1 On 26.08.2017 08:40, Ian Zimmerman wrote:
2
3 > The cop-out solution is to have a single pre-hook and a single
4 > post-hook, which stop (resp. start) both daemons, but that is
5 > ugly. How do people handle this?
6
7 I have not used certbot hooks myself, but a glance at the docs shows:
8
9 --pre-hook and --post-hook hooks run before and after every renewal
10 attempt. If you want your hook to run only after a successful renewal,
11 use --renew-hook [...]
12
13 Separate renew hooks seem to be the way to go.
14
15 -Ralph