master
pan 4 years ago
parent 782f2d4105
commit 410f62632d
  1. 4
      shell/killNode
  2. 2
      shell/updateRisk

@ -8,10 +8,6 @@ then
then then
echo "kill $pid success" echo "kill $pid success"
rm -f *.log rm -f *.log
./run.sh
else
echo "kill $pid error"
fi fi
else
./run.sh ./run.sh
fi fi

@ -22,7 +22,7 @@ function run(){
} }
#检查是否正在部署 #检查是否正在部署
result =`ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'` result = `ps -ef|grep 'updateRisk $1'|awk 'NR>1{next}{print $1}'`
echo $result echo $result
if [ ! -z $result ] if [ ! -z $result ]
then then

Loading…
Cancel
Save