Commit b1ecd645 authored by Kevin's avatar Kevin

ubuntu deploy scripts: change process start failed message in verify-master() and verify-minion()

parent 0705ef94
...@@ -166,7 +166,7 @@ function verify-master(){ ...@@ -166,7 +166,7 @@ function verify-master(){
validated="1" validated="1"
((try_count=try_count+1)) ((try_count=try_count+1))
if [[ ${try_count} -gt ${max_try_count} ]]; then if [[ ${try_count} -gt ${max_try_count} ]]; then
printf "\nWarning: Process \"${daemon}\" status check timeout, please check manually.\n" printf "\nWarning: Process \"${daemon}\" failed to run on ${MASTER}, please check.\n"
exit 1 exit 1
fi fi
sleep 2 sleep 2
...@@ -193,7 +193,7 @@ function verify-minion(){ ...@@ -193,7 +193,7 @@ function verify-minion(){
validated="1" validated="1"
((try_count=try_count+1)) ((try_count=try_count+1))
if [[ ${try_count} -gt ${max_try_count} ]]; then if [[ ${try_count} -gt ${max_try_count} ]]; then
printf "\nWarning: Process \"${daemon}\" status check timeout, please check manually.\n" printf "\nWarning: Process \"${daemon}\" failed to run on ${1}, please check.\n"
exit 1 exit 1
fi fi
sleep 2 sleep 2
......
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