# --- BEGIN COPYRIGHT BLOCK ---
# Copyright (C) 2012 Red Hat, Inc.
# All rights reserved.
# Modifications: configuration parameters
# --- END COPYRIGHT BLOCK ---

# This file contains instance-specific configuration.

# Default NSS DB type (computed at instance creation time)
NSS_DEFAULT_DB_TYPE="[NSS_DEFAULT_DB_TYPE]"

# Where your java installation lives
JAVA_HOME="[JAVA_HOME]"

# Where your tomcat installation lives
CATALINA_BASE="[PKI_INSTANCE_PATH]"

# Instance tmp dir
CATALINA_TMPDIR=[PKI_TMPDIR]

# NOTE: JAVA_OPTS is now only read once.  All desired settings must be concatenated
# into a single line.
#
# Some parameters you might want to add are:
# - parameters to the JVM like 
#   -Xminf0.1 -Xmaxf0.3
# - parameters to set java.library.path for libtcnative.so
#   -Djava.library.path=/usr/lib
# - parameters to run a java debugger (e. g. - 'eclipse')
#   -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Djava.awt.headless=true -Xmx128M
JAVA_OPTS="-DRESTEASY_LIB=[PKI_RESTEASY_LIB] -Djava.library.path=[NUXWDOG_JNI_PATH]"

# What user should run tomcat
TOMCAT_USER="[PKI_USER]"

# You can change your tomcat locale here
#LANG="en_US"

# Run tomcat under the Java Security Manager
SECURITY_MANAGER="[PKI_SECURITY_MANAGER]"

# Time to wait in seconds, before killing process
#SHUTDOWN_WAIT="30"

# Whether to annoy the user with "attempting to shut down" messages or not
#SHUTDOWN_VERBOSE="false"

# Set the TOMCAT_PID location
CATALINA_PID="[TOMCAT_PIDFILE]"

# Set the tomcat log file
TOMCAT_LOG="[TOMCAT_LOG_DIR]/tomcat-initd.log"

# Connector port is 8080 for this tomcat instance
#CONNECTOR_PORT="8080"

# If you wish to further customize your tomcat environment,
# put your own definitions here
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)

PKI_VERSION=[APPLICATION_VERSION]

# Debian settings
TOMCAT7_USER="[PKI_USER]"
TOMCAT7_SECURITY="[PKI_SECURITY_MANAGER]"

# Use Nuxwdog to start server
USE_NUXWDOG="false"
