[systemd-devel] Conditionally reload a service from another service
Barry
barry at barrys-emacs.org
Sat Aug 5 14:23:40 UTC 2023
> On 31 Jul 2023, at 21:23, Ian Pilcher <arequipeno at gmail.com> wrote:
>
> I have created service (along with an associated timer) that checks the
> remaining life of a TLS certificate and retrieves an updated certificate
> from Let's Encrypt if the remaining life is too short.
Certbot already knows how to do this.
It has a service and timer that renews the all certs and restarts httpd.
You could see how certbot solves the problem or just use certbot if it suitable.
Barry
More information about the systemd-devel
mailing list