mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-11 23:32:45 +00:00
allow overriding renew-hook config option with commandline parameter when running cron/renew
This commit is contained in:
parent
ec54074392
commit
004272f012
5
acme.sh
5
acme.sh
@ -4461,6 +4461,11 @@ renew() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
# allow overriding domain-config
|
||||
if [ -n "$_renew_hook" ]; then
|
||||
Le_RenewHook="$_renew_hook"
|
||||
fi
|
||||
|
||||
IS_RENEW="1"
|
||||
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias"
|
||||
res="$?"
|
||||
|
Loading…
x
Reference in New Issue
Block a user