Commit 9664b944 by 柴鹏飞

rank 服务启动命令

parent b3206578
......@@ -9,4 +9,11 @@ do
echo $port
nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_a.pid
done
\ No newline at end of file
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
......@@ -9,4 +9,11 @@ do
echo $port
nohup python ../src/service/recommend_service.py --port=$port > ../log/console_service_$port.log 2>&1 &
echo $! >> start_service_version_b.pid
done
\ No newline at end of file
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