Changeset View
Changeset View
Standalone View
Standalone View
www/tomcat85/files/tomcat85.in
- This file was copied from www/tomcat8/files/tomcat8.in.
#!/bin/sh | #!/bin/sh | ||||
# | # | ||||
# $FreeBSD: head/www/tomcat8/files/tomcat8.in 359492 2014-06-27 10:14:46Z ale $ | # $FreeBSD: head/www/tomcat85/files/tomcat85.in 359492 2014-06-27 10:14:46Z ale $ | ||||
# | # | ||||
# PROVIDE: tomcat8 | # PROVIDE: tomcat85 | ||||
# REQUIRE: LOGIN | # REQUIRE: LOGIN | ||||
# KEYWORD: shutdown | # KEYWORD: shutdown | ||||
# | # | ||||
# Configuration settings for tomcat8 in /etc/rc.conf: | # Configuration settings for tomcat85 in /etc/rc.conf: | ||||
# | # | ||||
# tomcat8_enable (bool): | # tomcat85_enable (bool): | ||||
# Set to "NO" by default. | # Set to "NO" by default. | ||||
# Set it to "YES" to enable tomcat8 | # Set it to "YES" to enable tomcat85 | ||||
# | # | ||||
# tomcat8_catalina_base (str) | # tomcat85_catalina_base (str) | ||||
# Set to "%%TOMCAT_HOME%%" by default. | # Set to "%%TOMCAT_HOME%%" by default. | ||||
# Set the CATALINA_BASE variable for the Tomcat process | # Set the CATALINA_BASE variable for the Tomcat process | ||||
# | # | ||||
# tomcat8_catalina_tmpdir (str) | # tomcat85_catalina_tmpdir (str) | ||||
# Set to "${catalina.base}/temp" by default. | # Set to "${catalina.base}/temp" by default. | ||||
# Set the CATALINA_TMPDIR variable for the Tomcat process | # Set the CATALINA_TMPDIR variable for the Tomcat process | ||||
# | # | ||||
# tomcat8_stdout (str) | # tomcat85_stdout (str) | ||||
# Set to "${catalina.base}/logs/catalina.out" by default. | # Set to "${catalina.base}/logs/catalina.out" by default. | ||||
# Set the stdout redirection. It may also be '/dev/null', '&1' or '&2' | # Set the stdout redirection. It may also be '/dev/null', '&1' or '&2' | ||||
# | # | ||||
# tomcat8_stderr (str) | # tomcat85_stderr (str) | ||||
# Set to "&1" by default. | # Set to "&1" by default. | ||||
# Set the stderr redirection. It may also be '/dev/null', '&1' or '&2' | # Set the stderr redirection. It may also be '/dev/null', '&1' or '&2' | ||||
# | # | ||||
# tomcat8_pipe_cmd (str): | # tomcat85_pipe_cmd (str): | ||||
# Set to "" by default. | # Set to "" by default. | ||||
# Set a piped command to process stdout/stderr when passthru | # Set a piped command to process stdout/stderr when passthru | ||||
# | # | ||||
# tomcat8_logging_manager (str): | # tomcat85_logging_manager (str): | ||||
# Set to "org.apache.juli.ClassLoaderLogManager" by default. | # Set to "org.apache.juli.ClassLoaderLogManager" by default. | ||||
# Set the JUL log manager | # Set the JUL log manager | ||||
# | # | ||||
# tomcat8_logging_config (str): | # tomcat85_logging_config (str): | ||||
# Set to "${catalina.base}/conf/logging.properties" by default. | # Set to "${catalina.base}/conf/logging.properties" by default. | ||||
# Set the JUL config file | # Set the JUL config file | ||||
# | # | ||||
# tomcat8_java_home (str): | # tomcat85_java_home (str): | ||||
# Set to "%%JAVA_HOME%%" by default. | # Set to "%%JAVA_HOME%%" by default. | ||||
# Specify the Java VM to use. | # Specify the Java VM to use. | ||||
# | # | ||||
# tomcat8_classpath (str): | # tomcat85_classpath (str): | ||||
# Set to "" by default. | # Set to "" by default. | ||||
# Addtional classes to add to the CLASSPATH. If set, must start with ':' | # Addtional classes to add to the CLASSPATH. If set, must start with ':' | ||||
# | # | ||||
# tomcat8_java_opts (str): | # tomcat85_java_opts (str): | ||||
# Set to "" by default. | # Set to "" by default. | ||||
# Java VM args to use. | # Java VM args to use. | ||||
# | # | ||||
# tomcat8_wait (int): | # tomcat85_wait (int): | ||||
# Set to "30" by default. | # Set to "30" by default. | ||||
# Set the wait time (in seconds) for Tomcat process startup | # Set the wait time (in seconds) for Tomcat process startup | ||||
# | # | ||||
# You may symlink this script with other names to run multiple | # You may symlink this script with other names to run multiple | ||||
# instances of tomcat8 with different configurations. | # instances of tomcat85 with different configurations. | ||||
# | # | ||||
. /etc/rc.subr | . /etc/rc.subr | ||||
case $0 in | case $0 in | ||||
/etc/rc*) | /etc/rc*) | ||||
# during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), | # during boot (shutdown) $0 is /etc/rc (/etc/rc.shutdown), | ||||
# so get the name of the script from $_file | # so get the name of the script from $_file | ||||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |