From d57e8bfaa39f0b1286f82c8a5d33e2cbf46558fb Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 30 Jun 2017 09:11:51 -0400 Subject: [PATCH] add --deploy-hook --- certbot/cli.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/certbot/cli.py b/certbot/cli.py index 14874e63e..42510ad11 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -1094,6 +1094,16 @@ def prepare_and_parse_args(plugins, args, detect_defaults=False): # pylint: dis " and keys; the shell variable $RENEWED_DOMAINS will contain a" " space-delimited list of renewed certificate domains (for example," " \"example.com www.example.com\"") + helpful.add( + "renew", "--deploy-hook", + help="Command to be run in a shell once for each successfully" + " issued certificate. For this command, the shell variable" + " $RENEWED_LINEAGE will point to the config live subdirectory" + ' (for example, "/etc/letsencrypt/live/example.com") containing' + " the new certificates and keys; the shell variable" + " $RENEWED_DOMAINS will contain a space-delimited list of" + ' renewed certificate domains (for example, "example.com' + ' www.example.com"') helpful.add( "renew", "--disable-hook-validation", action='store_false', dest='validate_hooks', default=True,