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

@ -8,10 +8,6 @@ then
then
echo "kill $pid success"
rm -f *.log
./run.sh
else
echo "kill $pid error"
fi
else
./run.sh
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
if [ ! -z $result ]
then

Loading…
Cancel
Save