This is due to the way start-stop daemon handles paramenters. The following patche to /etc/init.d/tomcat5 resoves the issue: --- tomcat5.orig 2004-08-26 17:09:03.022354214 +0200 +++ tomcat5 2004-08-26 17:09:05.016063547 +0200 @@ -10,14 +10,14 @@ start() { ebegin "Starting Tomcat" - start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh ${TOMCAT_START} + start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_START} sleep 5 eend $? } stop() { ebegin "Stopping Tomcat" - start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh ${TOMCAT_STOP} + start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_STOP} sleep 5 eend $? } Please apply. Reproducible: Always Steps to Reproduce:
Thanks, fixed
Pleasure, and thanks for the quick response. Great work.