Commit f6255ec5 authored by root's avatar root
parents c41f85ae c67903f8
...@@ -61,6 +61,10 @@ function restartJavaProject() ...@@ -61,6 +61,10 @@ function restartJavaProject()
#sleep 30s #sleep 30s
ack "$ack_phrase" $project_path/logs/$log_name ${max_wait_log_generate_time} ${max_wait_ack_time} ack "$ack_phrase" $project_path/logs/$log_name ${max_wait_log_generate_time} ${max_wait_ack_time}
if [ $? -ne 0 ]
then
echo "Fail to start"
fi
} }
function restartNodeProject() function restartNodeProject()
......
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