https://issues.apache.org/bugzilla/show_bug.cgi?id=52750

             Bug #: 52750
           Summary: daemon.sh does not allow to pass more than one option
           Product: Tomcat 7
           Version: 7.0.26
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Packaging
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jeffma...@jeffmaury.com
    Classification: Unclassified


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?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to