Commit 316ce66d authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent f66c1d82
......@@ -10,8 +10,7 @@ function startJavaProject()
cd $project_path/$project
for file in $project_path/$project/*
do
echo "$file"
if [[ $file = ${project}.jar ]]; then
if [[ -e $file ]] && [ $file = ${project}.jar]; then
P_UUID=`ps -ef|grep ${project}.jar |grep -v 'grep'|awk '{print $2}'`
if [ -n "${P_UUID}" ];then
echo "KILL $project PPID=${P_UUID}"
......
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