mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
Merge pull request #69 from heldchen/patch-1
renew() should return the function result code of issue() Thanks for you fix. I just merged it. An suggestion: If you want to do something after a success renewal, you can use the "Le_ReloadCmd" option. In which you can write any valid bash command, that will be executed after renewal.
This commit is contained in:
commit
084aaeb7e0
3
le.sh
3
le.sh
@ -892,7 +892,10 @@ renew() {
|
|||||||
|
|
||||||
IS_RENEW="1"
|
IS_RENEW="1"
|
||||||
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd"
|
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd"
|
||||||
|
local res=$?
|
||||||
IS_RENEW=""
|
IS_RENEW=""
|
||||||
|
|
||||||
|
return $res
|
||||||
}
|
}
|
||||||
|
|
||||||
renewAll() {
|
renewAll() {
|
||||||
|
Loading…
Reference in New Issue
Block a user