mirror of
https://github.com/mahdibland/V2RayAggregator.git
synced 2026-06-24 21:34:12 +08:00
Change Clash run method
This commit is contained in:
parent
ed551de15c
commit
7af3844766
@ -7,15 +7,14 @@ wget -O clash_config.yml https://raw.githubusercontent.com/alanbobs999/TopFreePr
|
||||
wget -O proxychains.conf https://raw.githubusercontent.com/alanbobs999/TopFreeProxies/master/utils/speedtest/proxychains.conf
|
||||
wget -O lite_config.json https://raw.githubusercontent.com/alanbobs999/TopFreeProxies/master/utils/speedtest/lite_config.json
|
||||
#初始化 Clash
|
||||
chmod +x clash
|
||||
nohup ./clash >clash.log 2>&1 &
|
||||
chmod +x ./clash && ./clash &
|
||||
#安装并配置 proxychains
|
||||
sudo apt-get install proxychains
|
||||
sudo chmod 777 ../../../../../etc/proxychains.conf
|
||||
mv -f proxychains.conf ../../../../../etc/proxychains.conf
|
||||
#开始运行 Clash
|
||||
sudo pkill -f clash
|
||||
sudo nohup ./clash -f clash_config.yml >clash.log 2>&1 &
|
||||
./clash -f clash_config.yml &
|
||||
#运行 LiteSpeedTest
|
||||
chmod +x lite
|
||||
chmod +x ./lite
|
||||
sudo nohup proxychains ./lite --config ./lite_config.json --test https://raw.githubusercontent.com/alanbobs999/TopFreeProxies/master/Eternity.yml >speedtest.log 2>&1 &
|
||||
|
||||
Loading…
Reference in New Issue
Block a user