I'm trying to use daemon.sh to start tomcat, but it passes a wait value of 10 seconds to jsvc. Tomcat does still start up ok, but the shell script's return code is 1, which is causing my puppet script to fail. It would be useful if this could be parameterised so that I can choose a time suitable for my webapps.
It appears that while catalina.sh mostly uses environment variables to adjust behavior, daemon.sh uses command-line arguments. Would you prefer an environment variable or a command-line parameter?
I think a command line parameter would be more visible in diagnostics and more straightforward to add to puppet manifests, so that would be my preference.
Fixed in trunk (r1503851) and Tomcat 7.0.x (r1503852). Will be in Tomcat 7.0.43. Proposed for Tomcat 6.
Re-opening due to proposal for Tomcat 6.
Update version
This has been fixed in 6.0.x. and will be included in 6.0.38 onwards.