View | Details | Raw Unified | Return to bug 168442
Collapse All | Expand All

(-)b/tomcat7 (-1 / +6 lines)
Lines 54-59 Link Here
54
#   Set to "" by default.
54
#   Set to "" by default.
55
#   Java VM args to use.
55
#   Java VM args to use.
56
#
56
#
57
# tomcat7_wait (str):
58
#   Set to "120" by default.
59
#   Set the wait time for tomcat service initialization in seconds (min 10).
60
#
57
# You may symlink this script with other names to run multiple
61
# You may symlink this script with other names to run multiple
58
# instances of tomcat7 with different configurations.
62
# instances of tomcat7 with different configurations.
59
#
63
#
Lines 89-94 Link Here
89
eval "_tomcat_logging_config=\${${name}_logging_config:-'${_tomcat_catalina_base}/conf/logging.properties'}"
93
eval "_tomcat_logging_config=\${${name}_logging_config:-'${_tomcat_catalina_base}/conf/logging.properties'}"
90
eval "_tomcat_classpath=\${${name}_classpath:-''}"
94
eval "_tomcat_classpath=\${${name}_classpath:-''}"
91
eval "_tomcat_java_opts=\${${name}_java_opts:-''}"
95
eval "_tomcat_java_opts=\${${name}_java_opts:-''}"
96
eval "_tomcat_wait=\${${name}_wait:-'120'}"
92
97
93
pidfile="/var/run/${name}.pid"
98
pidfile="/var/run/${name}.pid"
94
99
Lines 102-108 Link Here
102
	-server \
107
	-server \
103
	-user ${_tomcat_catalina_user} \
108
	-user ${_tomcat_catalina_user} \
104
	-pidfile '${pidfile}' \
109
	-pidfile '${pidfile}' \
105
	-wait 10 \
110
	-wait '${_tomcat_wait}' \
106
	-outfile '${_tomcat_stdout}' \
111
	-outfile '${_tomcat_stdout}' \
107
	-errfile '${_tomcat_stderr}' \
112
	-errfile '${_tomcat_stderr}' \
108
	-classpath '/usr/local/apache-tomcat-7.0/bin/bootstrap.jar:/usr/local/share/java/classes/commons-daemon.jar:/usr/local/apache-tomcat-7.0/bin/tomcat-juli.jar${_tomcat_classpath}' \
113
	-classpath '/usr/local/apache-tomcat-7.0/bin/bootstrap.jar:/usr/local/share/java/classes/commons-daemon.jar:/usr/local/apache-tomcat-7.0/bin/tomcat-juli.jar${_tomcat_classpath}' \

Return to bug 168442