You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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 ;
  8. done
  9. }
  10. WS=1
  11. for ((i=0;i<WS;i++))
  12. do
  13. task_exe &
  14. done
  15. while [ 1 -eq 1 ];do
  16. $PY api/ragflow_server.py
  17. done
  18. wait;