Fix certbot typo
This commit is contained in:
@@ -5,7 +5,7 @@ if [ -z "$DOMAIN" ]; then
|
|||||||
echo "You need to have \$DOMAIN set"
|
echo "You need to have \$DOMAIN set"
|
||||||
else
|
else
|
||||||
if [ -f /etc/letsencrypt/live/${DOMAIN}/fullchain.pem ]; then
|
if [ -f /etc/letsencrypt/live/${DOMAIN}/fullchain.pem ]; then
|
||||||
cerbot renew
|
certbot renew
|
||||||
supervisorctl restart nginx
|
supervisorctl restart nginx
|
||||||
else
|
else
|
||||||
echo "There is no cert to renew"
|
echo "There is no cert to renew"
|
||||||
|
|||||||
Reference in New Issue
Block a user