您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

entrypoint.sh 341B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. /usr/sbin/nginx
  3. export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
  4. PY=/root/miniconda3/envs/py11/bin/python
  5. function task_exe(){
  6. while [ 1 -eq 1 ];do
  7. $PY rag/svr/task_executor.py $1 $2;
  8. done
  9. }
  10. WS=1
  11. for ((i=0;i<WS;i++))
  12. do
  13. task_exe $i $WS &
  14. done
  15. while [ 1 -eq 1 ];do
  16. $PY api/ragflow_server.py
  17. done
  18. wait;