Changeset View
Changeset View
Standalone View
Standalone View
www/tomcat8/files/tomcat8.in
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | command_args="-java-home '${_tomcat_java_home}' \ | ||||
${_tomcat_java_opts} \ | ${_tomcat_java_opts} \ | ||||
-Djava.endorsed.dirs='%%TOMCAT_HOME%%/endorsed' \ | -Djava.endorsed.dirs='%%TOMCAT_HOME%%/endorsed' \ | ||||
-Dcatalina.home='${_tomcat_catalina_home}' \ | -Dcatalina.home='${_tomcat_catalina_home}' \ | ||||
-Dcatalina.base='${_tomcat_catalina_base}' \ | -Dcatalina.base='${_tomcat_catalina_base}' \ | ||||
-Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \ | -Djava.io.tmpdir='${_tomcat_catalina_tmpdir}' \ | ||||
org.apache.catalina.startup.Bootstrap \ | org.apache.catalina.startup.Bootstrap \ | ||||
${_tomcat_pipe_cmd}" | ${_tomcat_pipe_cmd}" | ||||
start_precmd="tomcat_prestart" | |||||
tomcat_prestart() | |||||
{ | |||||
if [ -r "${_tomcat_catalina_base}/bin/setenv.sh" ]; then | |||||
. "${_tomcat_catalina_base}/bin/setenv.sh" | |||||
elif [ -r "%%TOMCAT_HOME%%/bin/setenv.sh" ]; then | |||||
. "%%TOMCAT_HOME%%/bin/setenv.sh" | |||||
fi | |||||
} | |||||
run_rc_command "$1" | run_rc_command "$1" |