File size: 270 Bytes
b2ab624
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# 后台运行 tail 进程
cd /app/tool/subconverter && ./subconverter >> /app/subconverter.log 2>&1 &

# 运行 uvicorn 应用
uv run uvicorn app:asgi_app --host 0.0.0.0 --port 7860

# (可选) 等待 tail 进程结束,但它通常不会结束
# wait $!