Skip to content

Commit

Permalink
fix(脚本): 修复crontab更新证书可能出现的错误
Browse files Browse the repository at this point in the history
  • Loading branch information
mack-a committed Jul 4, 2021
1 parent a1828c7 commit 7cf8ec0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1016,10 +1016,7 @@ renewalTLS() {
handleNginx stop
sudo "$HOME/.acme.sh/acme.sh" --cron --home "$HOME/.acme.sh"
sudo "$HOME/.acme.sh/acme.sh" --installcert -d "${currentHost}" --fullchainpath /etc/v2ray-agent/tls/"${currentHost}.crt" --keypath /etc/v2ray-agent/tls/"${currentHost}.key" --ecc
handleNginx start

reloadCore

else
echoContent green " ---> 证书有效"
fi
Expand Down

0 comments on commit 7cf8ec0

Please sign in to comment.