Hi again,

I forgot something in my original submission : JVM_TMP should be
dependant of NAME.

Here is another patch, sorry for the spam.

-- 
Julien
--- tomcat6.original	2011-10-05 11:44:00.000000000 +0200
+++ tomcat6	2011-10-05 11:44:14.000000000 +0200
@@ -26,7 +26,7 @@
 NAME=tomcat6
 DESC="Tomcat servlet engine"
 DEFAULT=/etc/default/$NAME
-JVM_TMP=/tmp/tomcat6-tmp
+JVM_TMP=/tmp/$NAME-tmp
 
 if [ `id -u` -ne 0 ]; then
 	echo "You need root privileges to run this script"
@@ -65,7 +65,7 @@
 export JAVA_HOME
 
 # Directory where the Tomcat 6 binary distribution resides
-CATALINA_HOME=/usr/share/$NAME
+CATALINA_HOME=/usr/share/tomcat6
 
 # Directory for per-instance configuration files and webapps
 CATALINA_BASE=/var/lib/$NAME

Reply via email to