mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-13 23:54:12 +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
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# allow overriding domain-config
|
||||||
|
if [ -n "$_renew_hook" ]; then
|
||||||
|
Le_RenewHook="$_renew_hook"
|
||||||
|
fi
|
||||||
|
|
||||||
IS_RENEW="1"
|
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"
|
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="$?"
|
res="$?"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user