Commit fa39c40a authored by root's avatar root

update

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