File size: 341 Bytes
8887e47 b47e49a 8887e47 64350e9 8887e47 3cefaa0 64350e9 8887e47 4f70b71 1d93b24 abeee5e 1d93b24 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
#!/bin/bash
/usr/sbin/nginx
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
PY=/root/miniconda3/envs/py11/bin/python
function task_exe(){
while [ 1 -eq 1 ];do
$PY rag/svr/task_executor.py $1 $2;
done
}
WS=1
for ((i=0;i<WS;i++))
do
task_exe $i $WS &
done
while [ 1 -eq 1 ];do
$PY api/ragflow_server.py
done
wait;
|