Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +3 -3
entrypoint.sh
CHANGED
|
@@ -103,9 +103,9 @@ chmod +x /usr/local/bin/gost
|
|
| 103 |
|
| 104 |
sleep 3
|
| 105 |
|
| 106 |
-
echo "测试地址$
|
| 107 |
#curl -I https://discord.com
|
| 108 |
-
#curl -Iv -x "$
|
| 109 |
|
| 110 |
#nginx -s stop
|
| 111 |
#export ALL_PROXY="http://127.0.0.1:1081"
|
|
@@ -114,7 +114,7 @@ export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
|
|
| 114 |
|
| 115 |
|
| 116 |
echo "Starting Python bot on port 8888..."
|
| 117 |
-
|
| 118 |
|
| 119 |
|
| 120 |
~/.local/bin/nanobot status
|
|
|
|
| 103 |
|
| 104 |
sleep 3
|
| 105 |
|
| 106 |
+
echo "测试地址$HTTPS_PROXY..."
|
| 107 |
#curl -I https://discord.com
|
| 108 |
+
#curl -Iv -x "$HTTPS_PROXY" https://api.telegram.org
|
| 109 |
|
| 110 |
#nginx -s stop
|
| 111 |
#export ALL_PROXY="http://127.0.0.1:1081"
|
|
|
|
| 114 |
|
| 115 |
|
| 116 |
echo "Starting Python bot on port 8888..."
|
| 117 |
+
~/.local/bin/nanobot gateway -p 8888 &
|
| 118 |
|
| 119 |
|
| 120 |
~/.local/bin/nanobot status
|