Fix certbot typo

This commit is contained in:
Ric Harvey
2016-07-26 15:09:00 +01:00
parent 9a9f098d2c
commit dc426b68c1

View File

@@ -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"