Re the query I posted earlier about the race for port 8009.

I plan to use the following shellscript approach to make sure tomcat
is listening on port 8009 before I start Apache:

/usr/tomcat/bin/startup.sh
while [ -z "$(netstat -t -l -n | grep 0:8009)" ]; do sleep 1; done
/etc/sbin/httpd start

Can any one see anything wrong with this approach?
Know of anything better?

Chris
Evesham
England




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to