Package: tomcat4 Version: 4.1.31-2 Severity: wishlist Tags: patch It would be great to have the init.d script to actually get the NAME variable from the file name instead of being hardcoded into the script. Setting NAME=`basename $0` should do the trick. It is useful to manage different instances of tomcat. This way I can create a symbolic link to the script to force it to use another NAME, which in turn forces the use of another CATALINA_HOME and default file (/etc/default/NAME). Into the latter file there is a redefinition of CATALINA_BASE too. Using this trick, I'm able to create a new set of directory links to the packaged tomcat dirs and new directories containing the new instance's webapps. This approach would let me upgrade the tomcat4 package smoothly without change every single instance configured in the system. Please consider also changing the definition of CATALINA-BASE from CATALINA_BASE=/var/lib/tomcat4 to CATALINA_BASE=/var/lib/$NAME even this one is not necessary because it can be ovverriden from /etc/default/$NAME file. Thanks and keep up the good work!
10c10 < NAME=tomcat4 --- > NAME=`basename $0` -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.9 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages tomcat4 depends on: ii adduser 3.59 Add and remove users and groups ii apache-utils 1.3.33-3 utility programs for webservers ii apache2-common 2.0.52-3 Next generation, scalable, extenda ii gij-3.3 [java-virtual- 1:3.3.5-8 The GNU Java bytecode interpreter ii kaffe 2:1.1.4.PRECVS7-1 A JVM to run Java bytecode ii kaffe-pthreads [kaffe] 2:1.1.4.PRECVS7-1 A POSIX threads enabled version of ii libtomcat4-java 4.1.31-2 Java Servlet engine -- core librar ii sun-j2sdk1.4 [j2sdk1.4 1.4.2+06 Java(TM) 2 SDK, Standard Edition, ii sun-j2sdk1.4debian [ja 0.18 Debian specific parts of Java(TM) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

