MB-IDK commited on
Commit
ba25076
·
verified ·
1 Parent(s): d3f2ae4

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +4 -3
start.sh CHANGED
@@ -4,6 +4,7 @@ set -e
4
  echo "[UPDATER] Fetching proxy list..."
5
  curl -fsSL https://raw.githubusercontent.com/mishableskineetudiant-stack/proxylistfiltered/main/proxies_elite.txt > proxies.txt
6
 
 
7
  (
8
  while true; do
9
  sleep 300
@@ -14,12 +15,12 @@ curl -fsSL https://raw.githubusercontent.com/mishableskineetudiant-stack/proxyli
14
 
15
  echo "[MAIN] Starting rotating-mitmproxy..."
16
 
 
17
  python -m rotating_mitmproxy \
18
  --proxy-list proxies.txt \
19
- --host 0.0.0.0 \
20
- --listen-port 3129 \
21
  --strategy smart \
22
- --min-health 0.6 &
23
 
24
  echo "[MAIN] Starting HF health server..."
25
  python /app/health.py
 
4
  echo "[UPDATER] Fetching proxy list..."
5
  curl -fsSL https://raw.githubusercontent.com/mishableskineetudiant-stack/proxylistfiltered/main/proxies_elite.txt > proxies.txt
6
 
7
+ # Loop de mise à jour toutes les 5 minutes
8
  (
9
  while true; do
10
  sleep 300
 
15
 
16
  echo "[MAIN] Starting rotating-mitmproxy..."
17
 
18
+ # Lancement proxy rotatif
19
  python -m rotating_mitmproxy \
20
  --proxy-list proxies.txt \
21
+ --port 3129 \
 
22
  --strategy smart \
23
+ --web-port 8081 &
24
 
25
  echo "[MAIN] Starting HF health server..."
26
  python /app/health.py