Skip to content

Commit 456af54

Browse files
authored
Update x-ui-pro.sh
1 parent be3828b commit 456af54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-ui-pro.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ crontab -l | grep -v "nginx\|systemctl" | crontab -
430430
(crontab -l 2>/dev/null; echo "0 0 * * * sudo su -c 'x-ui restart > /dev/null 2>&1 && systemctl reload warp-plus tor';") | crontab -
431431
(crontab -l 2>/dev/null; echo "0 0 * * * sudo su -c 'nginx -s reload 2>&1 | grep -q error && { pkill nginx || killall nginx; nginx -c /etc/nginx/nginx.conf; nginx -s reload; }';") | crontab -
432432
(crontab -l 2>/dev/null; echo "0 0 1 * * sudo su -c 'certbot renew --nginx --force-renewal --non-interactive --post-hook \"nginx -s reload\" > /dev/null 2>&1';") | crontab -
433-
#(crontab -l 2>/dev/null; echo "* * * * * sudo su -c '[[ \"\$(curl -s --socks5-hostname 127.0.0.1:9050 checkip.amazonaws.com)\" =~ ^(\d{1,3}\.){3}\d{1,3}\$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}\$ ]] || systemctl restart tor';") | crontab -
434-
#(crontab -l 2>/dev/null; echo "* * * * * sudo su -c '[[ \"\$(curl -s --socks5-hostname 127.0.0.1:8086 checkip.amazonaws.com)\" =~ ^(\d{1,3}\.){3}\d{1,3}\$|^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}\$ ]] || systemctl restart warp-plus';") | crontab -
433+
(crontab -l 2>/dev/null; echo "* * * * * sudo su -c '[[ \"\$(curl -s --socks5-hostname 127.0.0.1:9050 checkip.amazonaws.com)\" =~ ^((([0-9]{1,3}\.){3}[0-9]{1,3})|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))\$ ]] || systemctl restart tor';") | crontab -
434+
(crontab -l 2>/dev/null; echo "* * * * * sudo su -c '[[ \"\$(curl -s --socks5-hostname 127.0.0.1:8086 checkip.amazonaws.com)\" =~ ^((([0-9]{1,3}\.){3}[0-9]{1,3})|(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}))\$ ]] || systemctl restart warp-plus';") | crontab -
435435
(crontab -l 2>/dev/null; echo "0 0 * * 0 sudo bash /etc/nginx/cloudflareips.sh > /dev/null 2>&1;") | crontab -
436436
##################################Show Details##########################################################
437437
if systemctl is-active --quiet x-ui || [ -e /etc/systemd/system/x-ui.service ]; then clear

0 commit comments

Comments
 (0)