Update entrypoint.sh
Browse files- entrypoint.sh +3 -3
entrypoint.sh
CHANGED
@@ -32,12 +32,12 @@ python -c "import urllib.request; urllib.request.urlretrieve('https://github.com
|
|
32 |
# 赋执行权给 cloudflared
|
33 |
chmod +x "$CLOUDFLARED_PATH" || { echo "设置 cloudflared 的执行权限失败"; exit 1; }
|
34 |
|
35 |
-
# 运行 cloudflared
|
36 |
-
"$CLOUDFLARED_PATH" tunnel run --token "${ARGO_AUTH}" &
|
37 |
-
|
38 |
# 运行 Raycast API Proxy
|
39 |
$RAYCAST_CMD "$@" &
|
40 |
|
|
|
|
|
|
|
41 |
# 捕获中断信号并清理资源
|
42 |
trap 'kill $(jobs -p); exit 1' INT TERM
|
43 |
|
|
|
32 |
# 赋执行权给 cloudflared
|
33 |
chmod +x "$CLOUDFLARED_PATH" || { echo "设置 cloudflared 的执行权限失败"; exit 1; }
|
34 |
|
|
|
|
|
|
|
35 |
# 运行 Raycast API Proxy
|
36 |
$RAYCAST_CMD "$@" &
|
37 |
|
38 |
+
# 运行 cloudflared
|
39 |
+
"$CLOUDFLARED_PATH" tunnel run --token "${ARGO_AUTH}" &
|
40 |
+
|
41 |
# 捕获中断信号并清理资源
|
42 |
trap 'kill $(jobs -p); exit 1' INT TERM
|
43 |
|