A set of very small shell scripts for Certbot renewals.
Usage:
- Install Certbot, register some certificates
- Clone this repository, add hook scripts
- Run
letsrenew
With letsrenew
installed in /opt/letsrenew
and Certbot installed in
/opt/certbot
(for example):
/opt/letsrenew/letsrenew [email protected] /opt/certbot/certbot-auto
The Certbot executable may be followed by additional Certbot options.
When at least one certificate was renewed or an error occurred, the output of
all scripts will be mailed to [email protected]
using sendmail
.
If you leave out the email address, the output will be printed on the console.
Executable files in pre-scripts
and post-scripts
will be executed by
their respective hook.
Executable files in renew-scripts
will be executed if their name matches a
domain that has been renewed.