Update renew days for renew/renewall
This commit is contained in:
neil 2016-08-02 21:47:35 +08:00
parent f574e5813f
commit 1e6b68f5d1

View File

@ -1879,6 +1879,10 @@ renew() {
return 0;
fi
if [ "$Le_RenewalDays" ] ; then
_savedomainconf Le_RenewalDays "$Le_RenewalDays"
fi
. "$DOMAIN_CONF"
if [ -z "$FORCE" ] && [ "$Le_NextRenewTime" ] && [ "$(date -u "+%s" )" -lt "$Le_NextRenewTime" ] ; then
_info "Skip, Next renewal time is: $Le_NextRenewTimeStr"