Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTara Rostami <132676256+TaraRostami@users.noreply.github.com>2024-11-21 20:18:30 +0300
committerGitHub <noreply@github.com>2024-11-21 20:18:30 +0300
commiteb5ed5c0ddb0865af5778a9a2a18e2812657d31d (patch)
tree8bf69e5086f01f017a6e019d6805a918e432e0b2 /x-ui.sh
parente0bbacf013e7e44d9c974d6a0d071e7d9851be77 (diff)
readme update (#2604)
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/x-ui.sh b/x-ui.sh
index f2772031..cb5ac099 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -818,7 +818,6 @@ update_geo() {
echo -e "${green}\t0.${plain} Back to Main Menu"
read -p "Choose an option: " choice
- systemctl stop x-ui
cd /usr/local/x-ui/bin
case "$choice" in
@@ -826,6 +825,7 @@ update_geo() {
show_menu
;;
1)
+ systemctl stop x-ui
rm -f geoip.dat geosite.dat
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geoip.dat
wget -N https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
@@ -833,6 +833,7 @@ update_geo() {
restart
;;
2)
+ systemctl stop x-ui
rm -f geoip_IR.dat geosite_IR.dat
wget -O geoip_IR.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geoip.dat
wget -O geosite_IR.dat -N https://github.com/chocolate4u/Iran-v2ray-rules/releases/latest/download/geosite.dat
@@ -840,6 +841,7 @@ update_geo() {
restart
;;
3)
+ systemctl stop x-ui
rm -f geoip_VN.dat geosite_VN.dat
wget -O geoip_VN.dat -N https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geoip.dat
wget -O geosite_VN.dat -N https://github.com/vuong2023/vn-v2ray-rules/releases/latest/download/geosite.dat
@@ -852,7 +854,6 @@ update_geo() {
;;
esac
- systemctl start x-ui
before_show_menu
}