Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e5244cf3
Commit
e5244cf3
authored
Jul 10, 2017
by
neil
Committed by
GitHub
Jul 10, 2017
Browse files
Merge pull request #941 from Neilpang/dev
do not retry for a invalid cert in cronjob.
parents
975a7359
c4d0aec5
Changes
1
Show whitespace changes
Inline
Side-by-side
acme.sh
View file @
e5244cf3
...
@@ -4033,6 +4033,11 @@ renew() {
...
@@ -4033,6 +4033,11 @@ renew() {
return
"
$RENEW_SKIP
"
return
"
$RENEW_SKIP
"
fi
fi
if
[
"
$IN_CRON
"
=
"1"
]
&&
[
-z
"
$Le_CertCreateTime
"
]
;
then
_info
"Skip invalid cert for:
$Le_Domain
"
return
0
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
"
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
"
res
=
"
$?
"
res
=
"
$?
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment