Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +1 -1
entrypoint.sh
CHANGED
|
@@ -19,7 +19,7 @@ if [ -z "$TUNNEL_TOKEN" ]; then
|
|
| 19 |
else
|
| 20 |
echo "Starting Cloudflare Tunnel..."
|
| 21 |
# cloudflared 会作为前台进程运行,保持容器不退出
|
| 22 |
-
nohup cloudflared tunnel --no-autoupdate run --token "$TUNNEL_TOKEN" &
|
| 23 |
fi
|
| 24 |
|
| 25 |
nginx -g "daemon off;"
|
|
|
|
| 19 |
else
|
| 20 |
echo "Starting Cloudflare Tunnel..."
|
| 21 |
# cloudflared 会作为前台进程运行,保持容器不退出
|
| 22 |
+
nohup cloudflared tunnel --loglevel error --no-autoupdate run --token "$TUNNEL_TOKEN" &
|
| 23 |
fi
|
| 24 |
|
| 25 |
nginx -g "daemon off;"
|