mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-01 16:18:27 +00:00
Update run.sh
modify varible error
This commit is contained in:
parent
44bb5135cd
commit
cbe769eb92
4
run.sh
4
run.sh
@ -15,11 +15,11 @@ function find_python_command() {
|
||||
|
||||
PYTHONCMD=$(find_python_command)
|
||||
|
||||
nohup PYTHONCMD pilot/server/llmserver.py >> /root/server.log 2>&1 &
|
||||
nohup $PYTHONCMD pilot/server/llmserver.py >> /root/server.log 2>&1 &
|
||||
while [ `grep -c "Uvicorn running on" /root/server.log` -eq '0' ];do
|
||||
sleep 1s;
|
||||
echo "wait server running"
|
||||
done
|
||||
echo "server running"
|
||||
|
||||
PYTHONCMD pilot/server/webserver.py
|
||||
$PYTHONCMD pilot/server/webserver.py
|
||||
|
Loading…
Reference in New Issue
Block a user