mirror of
https://github.com/certbot/certbot.git
synced 2026-04-01 15:16:02 -04:00
add --deploy-hook
This commit is contained in:
parent
828363b21a
commit
d57e8bfaa3
1 changed files with 10 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue