Skip to content

Commit 9463ed3

Browse files
committed
update install.sh
1 parent 7b7293d commit 9463ed3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ check_status() {
187187
# Function to check installation status
188188
check_installation() {
189189
if systemctl is-active --quiet nginx && [ -f "/etc/nginx/sites-available/$domain" ]; then
190-
echo ""
191190
(crontab -l 2>/dev/null | grep -v 'certbot renew --nginx --force-renewal --non-interactive --post-hook "nginx -s reload"' ; echo '0 0 1 * * certbot renew --nginx --force-renewal --non-interactive --post-hook "nginx -s reload" > /dev/null 2>&1;') | crontab -
191+
echo ""
192192
echo -e "${Purple}Certificate and Key saved at:${rest}"
193193
echo -e "${yellow}×××××××××××××××××××××××××××××××××××××××××××××××××××××${rest}"
194194
echo -e "${cyan}/etc/letsencrypt/live/$domain/fullchain.pem${rest}"

0 commit comments

Comments
 (0)