This file is indexed.

config is in tomcat7 7.0.68-1.

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/tomcat7"
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m"

if [ -e "${CONFFILE}" ]
then
	. ${CONFFILE} || true

	if [ -n "${TOMCAT7_USER}" ]; then
		db_set tomcat7/username "${TOMCAT7_USER}"
	fi

	if [ -n "${TOMCAT7_GROUP}" ]; then
		db_set tomcat7/groupname "${TOMCAT7_GROUP}"
	fi

	if [ -n "${JAVA_OPTS}" ]; then
		db_set tomcat7/javaopts "${JAVA_OPTS}"
	fi
fi

db_input low tomcat7/username || true
db_input low tomcat7/groupname || true
db_input low tomcat7/javaopts || true
db_go

db_stop