~ubuntu-branches/ubuntu/oneiric/tomcat6/oneiric

« back to all changes in this revision

Viewing changes to debian/defaults.template

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2010-07-20 14:36:48 UTC
  • mfrom: (2.2.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100720143648-23y81x6cq1kv1z00
Tags: 6.0.28-2
* Add debconf questions for user, group and Java options.
* Use ucf to install /etc/default/tomcat6 from a template
* Drop CATALINA_BASE and CATALINA_HOME from /etc/default/tomcat6 since we
  shouldn't encourage users to change those anyway

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Run Tomcat as this user ID. Not setting this or leaving it blank will use the
 
2
# default of tomcat6.
 
3
TOMCAT6_USER=tomcat6
 
4
 
 
5
# Run Tomcat as this group ID. Not setting this or leaving it blank will use
 
6
# the default of tomcat6.
 
7
TOMCAT6_GROUP=tomcat6
 
8
 
 
9
# The home directory of the Java development kit (JDK). You need at least
 
10
# JDK version 1.5. If JAVA_HOME is not set, some common directories for 
 
11
# OpenJDK, the Sun JDK, and various J2SE 1.5 versions are tried.
 
12
#JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk
 
13
 
 
14
# You may pass JVM startup parameters to Java here. If unset, the default
 
15
# options will be: -Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC
 
16
#
 
17
# Use "-XX:+UseConcMarkSweepGC" to enable the CMS garbage collector (improved
 
18
# response time). If you use that option and you run Tomcat on a machine with
 
19
# exactly one CPU chip that contains one or two cores, you should also add
 
20
# the "-XX:+CMSIncrementalMode" option.
 
21
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m -XX:+UseConcMarkSweepGC"
 
22
 
 
23
# To enable remote debugging uncomment the following line.
 
24
# You will then be able to use a java debugger on port 8000.
 
25
#JAVA_OPTS="${JAVA_OPTS} -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
 
26
 
 
27
# Java compiler to use for translating JavaServer Pages (JSPs). You can use all
 
28
# compilers that are accepted by Ant's build.compiler property.
 
29
#JSP_COMPILER=javac
 
30
 
 
31
# Use the Java security manager? (yes/no, default: no)
 
32
#TOMCAT6_SECURITY=no
 
33
 
 
34
# Number of days to keep logfiles in /var/log/tomcat6. Default is 14 days.
 
35
#LOGFILE_DAYS=14
 
36
 
 
37
# Location of the JVM temporary directory
 
38
# WARNING: This directory will be destroyed and recreated at every startup !
 
39
#JVM_TMP=/tmp/tomcat6-temp
 
40
 
 
41
# If you run Tomcat on port numbers that are all higher than 1023, then you
 
42
# do not need authbind.  It is used for binding Tomcat to lower port numbers.
 
43
# NOTE: authbind works only with IPv4.  Do not enable it when using IPv6.
 
44
# (yes/no, default: no)
 
45
#AUTHBIND=no