config is in tomcat8 8.0.32-1ubuntu1.
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/tomcat8"
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m"
if [ -e "${CONFFILE}" ]
then
. ${CONFFILE} || true
if [ -n "${TOMCAT8_USER}" ]; then
db_set tomcat8/username "${TOMCAT8_USER}"
fi
if [ -n "${TOMCAT8_GROUP}" ]; then
db_set tomcat8/groupname "${TOMCAT8_GROUP}"
fi
if [ -n "${JAVA_OPTS}" ]; then
db_set tomcat8/javaopts "${JAVA_OPTS}"
fi
fi
db_input low tomcat8/username || true
db_input low tomcat8/groupname || true
db_input low tomcat8/javaopts || true
db_go
db_stop
|