add --deploy-hook

This commit is contained in:
Brad Warren 2017-06-30 09:11:51 -04:00
parent 828363b21a
commit d57e8bfaa3

View file

@ -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,