We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e320e commit 7b7293dCopy full SHA for 7b7293d
1 file changed
install.sh
@@ -188,6 +188,7 @@ check_status() {
188
check_installation() {
189
if systemctl is-active --quiet nginx && [ -f "/etc/nginx/sites-available/$domain" ]; then
190
echo ""
191
+ (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 -
192
echo -e "${Purple}Certificate and Key saved at:${rest}"
193
echo -e "${yellow}×××××××××××××××××××××××××××××××××××××××××××××××××××××${rest}"
194
echo -e "${cyan}/etc/letsencrypt/live/$domain/fullchain.pem${rest}"
0 commit comments