Skip to content

Commit

Permalink
Update x-ui-pro.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
GFW4Fun authored Oct 28, 2024
1 parent 51f5137 commit 6f5a2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-ui-pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ fi
######################cronjob for ssl/reload service/cloudflareips######################################
crontab -l | grep -v "nginx\|certbot\|x-ui\|cloudflareips" | crontab -
(crontab -l 2>/dev/null; echo "@daily x-ui restart > /dev/null 2>&1 && systemctl reload tor;") | crontab -
(crontab -l 2>/dev/null; echo "@daily nginx -s reload 2>&1 | grep -q error && $(pkill -9 nginx;nginx -c /etc/nginx/nginx.conf;nginx -s reload);") | crontab -
(crontab -l 2>/dev/null; echo "@daily nginx -s reload 2>&1 | grep -q error && \$(pkill -9 nginx;nginx -c /etc/nginx/nginx.conf;nginx -s reload);") | crontab -
(crontab -l 2>/dev/null; echo "@weekly bash /etc/nginx/cloudflareips.sh > /dev/null 2>&1;") | crontab -
(crontab -l 2>/dev/null; echo '@monthly certbot renew --nginx --force-renewal --non-interactive --post-hook "nginx -s reload" > /dev/null 2>&1;') | crontab -
##################################Show Details##########################################################
Expand Down

0 comments on commit 6f5a2e3

Please sign in to comment.