Commit 9664b944 by 柴鹏飞

rank 服务启动命令

parent b3206578
...@@ -10,3 +10,10 @@ do ...@@ -10,3 +10,10 @@ do
nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 & nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_a.pid echo $! >> start_service_version_a.pid
done done
for port in `echo '7011,7012' | tr ',' ' '`
do
echo $port
nohup python ../src/service/rank_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_a.pid
done
...@@ -10,3 +10,10 @@ do ...@@ -10,3 +10,10 @@ do
nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 & nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_b.pid echo $! >> start_service_version_b.pid
done done
for port in `echo '7511,7512' | tr ',' ' '`
do
echo $port
nohup python ../src/service/rank_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_a.pid
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment