Commit 9664b944 by 柴鹏飞

rank 服务启动命令

parent b3206578
...@@ -9,4 +9,11 @@ do ...@@ -9,4 +9,11 @@ do
echo $port echo $port
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
\ No newline at end of file
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 ...@@ -9,4 +9,11 @@ do
echo $port echo $port
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
\ No newline at end of file
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