lydgs commited on
Commit
f117d31
·
verified ·
1 Parent(s): 650ab3e

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -0
start.sh ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # 启动后台同步守护进程
3
+ python3 /app/sync_cliproxy_cleanup.py &
4
+
5
+ # 前台启动 LiteLLM,并替换当前 shell 进程(确保 litellm 可以收到信号)
6
+ exec litellm --config /app/config.yaml --port 7860 --num_workers 9