Update server10.py
Browse files- server10.py +1 -6
server10.py
CHANGED
|
@@ -151,11 +151,6 @@ def nezha():
|
|
| 151 |
os.system("chmod +x f1")
|
| 152 |
os.system('./f1 -c ./config.yaml')
|
| 153 |
os.system('./f1 -c ./config.yaml')
|
| 154 |
-
def cloudflared():
|
| 155 |
-
os.system("rm -r /data/cloudflared-linux-amd64")
|
| 156 |
-
os.system("wget -O '/data/cloudflared-linux-amd64' -q 'https://github.com/cloudflare/cloudflared/releases/download/2025.9.0/cloudflared-linux-amd64'")
|
| 157 |
-
os.system("chmod +x /data/cloudflared-linux-amd64")
|
| 158 |
-
os.system('/data/cloudflared-linux-amd64 tunnel run --token eyJhIjoiNmVjNWE5NzEzOGIzMTg4YTU2Y2U1NjdmMWRhZDBhMTUiLCJ0IjoiMzg0OWFhNjgtMDJhMS00YWYyLWEzMTMtYzQ3ZmRiYTRjNzE3IiwicyI6IlpUTTRZemRsT1RFdE5tVXhOUzAwTlRVeUxUbGhZbUV0TmpFM09UWm1NR1ExTkdJMCJ9')
|
| 159 |
def sbx():
|
| 160 |
os.system("python /data/sbx.py")
|
| 161 |
threading.Thread(target=nezha, daemon=True).start()
|
|
@@ -657,7 +652,7 @@ if os.path.exists(f'/data/{huggingface_Data_name}.zip'):
|
|
| 657 |
frp(configs, True)
|
| 658 |
threading.Thread(target=monitor_port, daemon=True).start()#检测端口状态
|
| 659 |
threading.Thread(target=check_system_resources, daemon=True).start()#检测CPU内存状态
|
| 660 |
-
threading.Thread(target=sbx, daemon=True).start()
|
| 661 |
os.system("python /data/ip_huggingface.py")
|
| 662 |
os.system("python /data/ipn.py")
|
| 663 |
# time.sleep(600)
|
|
|
|
| 151 |
os.system("chmod +x f1")
|
| 152 |
os.system('./f1 -c ./config.yaml')
|
| 153 |
os.system('./f1 -c ./config.yaml')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
def sbx():
|
| 155 |
os.system("python /data/sbx.py")
|
| 156 |
threading.Thread(target=nezha, daemon=True).start()
|
|
|
|
| 652 |
frp(configs, True)
|
| 653 |
threading.Thread(target=monitor_port, daemon=True).start()#检测端口状态
|
| 654 |
threading.Thread(target=check_system_resources, daemon=True).start()#检测CPU内存状态
|
| 655 |
+
# threading.Thread(target=sbx, daemon=True).start()
|
| 656 |
os.system("python /data/ip_huggingface.py")
|
| 657 |
os.system("python /data/ipn.py")
|
| 658 |
# time.sleep(600)
|