deploy
This commit is contained in:
parent
c9d5cb8c9a
commit
4302cfe7dd
|
|
@ -38,7 +38,7 @@ export sgzb_modules_system_port=49201
|
|||
if($auth_service_enable);then
|
||||
echo "--------auth开始启动--------------"
|
||||
echo "--------删除auth开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_auth_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_auth_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===auth service process not exists or stop success"
|
||||
else
|
||||
|
|
@ -58,7 +58,7 @@ fi
|
|||
if($sgzb_gateway_enable);then
|
||||
echo "--------gateway 开始启动--------------"
|
||||
echo "--------删除gateway开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_gateway_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_gateway_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===gateway process not exists or stop success"
|
||||
else
|
||||
|
|
@ -84,7 +84,7 @@ fi
|
|||
if($sgzb_modules_system_enable);then
|
||||
echo "--------sgzb_modules_system 开始启动--------------"
|
||||
echo "--------删除sgzb_modules_system开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_modules_system_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_modules_system_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===sgzb_modules_system process not exists or stop success"
|
||||
else
|
||||
|
|
@ -105,7 +105,7 @@ fi
|
|||
if($sgzb_modules_base_enable);then
|
||||
echo "--------sgzb_modules_base 开始启动--------------"
|
||||
echo "--------删除sgzb_modules_base开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_modules_base_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_modules_base_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===sgzb_modules_base process not exists or stop success"
|
||||
else
|
||||
|
|
@ -126,7 +126,7 @@ fi
|
|||
if($sgzb_modules_file_enable);then
|
||||
echo "--------sgzb_modules_file 开始启动--------------"
|
||||
echo "--------删除sgzb_modules_file开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_modules_file_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_modules_file_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===sgzb_modules_file process not exists or stop success"
|
||||
else
|
||||
|
|
@ -147,7 +147,7 @@ fi
|
|||
if($sgzb_modules_material_enable);then
|
||||
echo "--------sgzb_modules_material 开始启动--------------"
|
||||
echo "--------删除sgzb_modules_material开始--------------"
|
||||
P_ID=`lsof -i:$sgzb_modules_material_port|grep "LISTEN"|awk '{print $2}'`
|
||||
P_ID=`ps -ef | grep -w $sgzb_modules_material_jar | grep -v "grep" | awk '{print $2}'`
|
||||
if [ "$P_ID" == "" ]; then
|
||||
echo "===sgzb_modules_material process not exists or stop success"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue