Skip to content

Commit 19f5802

Browse files
authored
Update x-ui-pro.sh
1 parent f4e3a0f commit 19f5802

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-ui-pro.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
#################### x-ui-pro v9.6.0 @ github.com/GFW4Fun ##############################################
2+
#################### x-ui-pro v9.6.1 @ github.com/GFW4Fun ##############################################
33
[[ $EUID -ne 0 ]] && { echo "not root!"; exec sudo "$0" "$@"; }
44
##############################INFO######################################################################
55
msg_ok() { echo -e "\e[1;42m $1 \e[0m";}
@@ -425,6 +425,7 @@ Restart=on-abort
425425
WantedBy=multi-user.target
426426
EOF
427427
service_enable "warp-plus"
428+
systemctl restart tor
428429
######################cronjob for ssl/reload service/cloudflareips######################################
429430
crontab -l | grep -v "nginx\|certbot\|x-ui\|cloudflareips" | crontab -
430431
(crontab -l 2>/dev/null; echo "0 0 * * * sudo su -c 'x-ui restart > /dev/null 2>&1 && systemctl reload warp-plus tor';") | crontab -

0 commit comments

Comments
 (0)