summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorHerve Quiroz <hq@FreeBSD.org>2005-09-14 12:30:23 +0000
committerHerve Quiroz <hq@FreeBSD.org>2005-09-14 12:30:23 +0000
commitd1f2d08b33c0777801e4e4ef7339d92723a3c12d (patch)
tree7056949f297dfcf0d4dbe0b2cac3c5babe4e4e85 /www
parentFix a coredump in the undo processing when doing a rotate editing (diff)
Run 'load_rc_config' command earlier in the rcNG launcher script
PR: 86032 Submitted by: Julio C. Perera R. <jcperera@azul.gl>
Notes
Notes: svn path=/head/; revision=142705
Diffstat (limited to 'www')
-rw-r--r--www/jakarta-tomcat55/files/tomcat.sh.in3
-rw-r--r--www/tomcat55/files/tomcat.sh.in3
-rw-r--r--www/tomcat6/files/tomcat.sh.in3
-rw-r--r--www/tomcat7/files/tomcat.sh.in3
4 files changed, 8 insertions, 4 deletions
diff --git a/www/jakarta-tomcat55/files/tomcat.sh.in b/www/jakarta-tomcat55/files/tomcat.sh.in
index dcc46e56a21c..0dca0cb4afbf 100644
--- a/www/jakarta-tomcat55/files/tomcat.sh.in
+++ b/www/jakarta-tomcat55/files/tomcat.sh.in
@@ -68,6 +68,8 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log="${jakarta_tomcat%%TOMCAT_VERSION%%_
name="jakarta_tomcat%%TOMCAT_VERSION%%"
rcvar=`set_rcvar`
+load_rc_config "${name}"
+
if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" ] ; then
export JAVA_HOME="${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}"
fi
@@ -110,5 +112,4 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stop() {
wait_for_pids
}
-load_rc_config "${name}"
run_rc_command "$1"
diff --git a/www/tomcat55/files/tomcat.sh.in b/www/tomcat55/files/tomcat.sh.in
index dcc46e56a21c..0dca0cb4afbf 100644
--- a/www/tomcat55/files/tomcat.sh.in
+++ b/www/tomcat55/files/tomcat.sh.in
@@ -68,6 +68,8 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log="${jakarta_tomcat%%TOMCAT_VERSION%%_
name="jakarta_tomcat%%TOMCAT_VERSION%%"
rcvar=`set_rcvar`
+load_rc_config "${name}"
+
if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" ] ; then
export JAVA_HOME="${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}"
fi
@@ -110,5 +112,4 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stop() {
wait_for_pids
}
-load_rc_config "${name}"
run_rc_command "$1"
diff --git a/www/tomcat6/files/tomcat.sh.in b/www/tomcat6/files/tomcat.sh.in
index dcc46e56a21c..0dca0cb4afbf 100644
--- a/www/tomcat6/files/tomcat.sh.in
+++ b/www/tomcat6/files/tomcat.sh.in
@@ -68,6 +68,8 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log="${jakarta_tomcat%%TOMCAT_VERSION%%_
name="jakarta_tomcat%%TOMCAT_VERSION%%"
rcvar=`set_rcvar`
+load_rc_config "${name}"
+
if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" ] ; then
export JAVA_HOME="${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}"
fi
@@ -110,5 +112,4 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stop() {
wait_for_pids
}
-load_rc_config "${name}"
run_rc_command "$1"
diff --git a/www/tomcat7/files/tomcat.sh.in b/www/tomcat7/files/tomcat.sh.in
index dcc46e56a21c..0dca0cb4afbf 100644
--- a/www/tomcat7/files/tomcat.sh.in
+++ b/www/tomcat7/files/tomcat.sh.in
@@ -68,6 +68,8 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stderr_log="${jakarta_tomcat%%TOMCAT_VERSION%%_
name="jakarta_tomcat%%TOMCAT_VERSION%%"
rcvar=`set_rcvar`
+load_rc_config "${name}"
+
if [ -n "${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}" ] ; then
export JAVA_HOME="${jakarta_tomcat%%TOMCAT_VERSION%%_java_home}"
fi
@@ -110,5 +112,4 @@ jakarta_tomcat%%TOMCAT_VERSION%%_stop() {
wait_for_pids
}
-load_rc_config "${name}"
run_rc_command "$1"