Commit ad79c1cc authored by tywldx's avatar tywldx

fix

parent 47ed2d59
...@@ -54,7 +54,7 @@ function restartJavaProject() ...@@ -54,7 +54,7 @@ function restartJavaProject()
mv $project_path/logs/$log_name $project_path/logs/$project.log.$time mv $project_path/logs/$log_name $project_path/logs/$project.log.$time
echo "$run_command" echo "$run_command"
$run_command echo `$run_command`
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 ] if [ $? -ne 0 ]
then then
......
...@@ -50,7 +50,7 @@ function restartJavaProject() ...@@ -50,7 +50,7 @@ function restartJavaProject()
fi fi
echo "$run_command" echo "$run_command"
$run_command echo `$run_command`
sleep 10s sleep 10s
#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}
......
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