|
|
@ -18,6 +18,7 @@ function test(){ |
|
|
|
else |
|
|
|
else |
|
|
|
foo "server status:start" |
|
|
|
foo "server status:start" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -z "`/app/findPortPid $clientPort`" ] |
|
|
|
if [ -z "`/app/findPortPid $clientPort`" ] |
|
|
|
then |
|
|
|
then |
|
|
|
foo "client status:stop" |
|
|
|
foo "client status:stop" |
|
|
@ -25,6 +26,7 @@ function test(){ |
|
|
|
else |
|
|
|
else |
|
|
|
foo "server status:start" |
|
|
|
foo "server status:start" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ $check -eq 0 ] |
|
|
|
if [ $check -eq 0 ] |
|
|
|
then |
|
|
|
then |
|
|
|
foo "server and client is running" |
|
|
|
foo "server and client is running" |
|
|
|