--- www/tomcat6/files/tomcat6.sh.in.orig 2010-10-25 08:50:37.000000000 +0000 +++ www/tomcat6/files/tomcat6.sh.in 2010-10-25 09:28:07.000000000 +0000 @@ -145,14 +145,21 @@ echo "${name} not running? (check $pidfile)." return 1 fi + echo "${name} is running as pid ${rc_pid}." } tomcat_poll() { + _prefix= while (true) ; do rc_pid=$(tomcat_check_pidfile $pidfile) [ -z "$rc_pid" ] && break + echo -n ${_prefix:-"Waiting for PIDS: "}$rc_pid + _prefix=", " sleep 2 done + if [ -n "$_prefix" ]; then + echo "." + fi } tomcat_check_pidfile() {