Minor bugfix.
This commit is contained in:
@@ -27,8 +27,8 @@ else
|
||||
if [[ -f "/acme.sh/$DOMAIN/key.pem" && -f "/acme.sh/$DOMAIN/fullchain.pem" && -f "/acme.sh/$DOMAIN/cert.pem" ]] ; then
|
||||
echo "Found certificate files";
|
||||
start_letsencrypt;
|
||||
if [ find /acme.sh/$DOMAIN/ -type f -mmin +60 ]; then
|
||||
touch /acme.sh/$DOMAIN/renew_certificate;
|
||||
if [[ -n "$(find /acme.sh/$DOMAIN/ -type f -mmin +60)" ]]; then
|
||||
touch /acme.sh/$DOMAIN/renew_certificate;
|
||||
fi
|
||||
else
|
||||
start_letsencrypt;
|
||||
|
Reference in New Issue
Block a user