config is in tomcat6 6.0.35-1ubuntu3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
CONFFILE="/etc/default/tomcat6"
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m"
if [ -e "${CONFFILE}" ]
then
. ${CONFFILE} || true
if [ -n "${TOMCAT6_USER}" ]; then
db_set tomcat6/username "${TOMCAT6_USER}"
fi
if [ -n "${TOMCAT6_GROUP}" ]; then
db_set tomcat6/groupname "${TOMCAT6_GROUP}"
fi
if [ -n "${JAVA_OPTS}" ]; then
db_set tomcat6/javaopts "${JAVA_OPTS}"
fi
fi
db_input low tomcat6/username || true
db_input low tomcat6/groupname || true
db_input low tomcat6/javaopts || true
db_go
db_stop
|