|Summary:||daemon.sh does not allow to pass more than one option|
|Product:||Tomcat 7||Reporter:||Jeff MAURY <jeffmaury>|
|Component:||Packaging||Assignee:||Tomcat Developers Mailing List <dev>|
Description Jeff MAURY 2012-02-23 17:31:19 UTC
The daemon.sh that is packaged with 7.0.26 does not allow to pass more than one option (through the -- switch). It appears that the shift statement inside a loop build from the command line parameter does not work as the list has been build before. Ex: daemon.sh --catalina-pid /tmp/c.pid --tomcat-user x start leads to the following error: Usage: daemon.sh ( commands ... ) commands: run Start Tomcat without detaching from console start Start Tomcat stop Stop Tomcat version What version of commons daemon and Tomcat are you running?