summaryrefslogtreecommitdiffstats
path: root/www/tomcat55
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-09-14 12:30:23 +0000
committerhq <hq@FreeBSD.org>2005-09-14 12:30:23 +0000
commit56508790661a613656aceb386dc90f9c9f3a09cf (patch)
tree7ee7096ed773782ed82009cd26ff55b420f3d577 /www/tomcat55
parent9742c9ddbbf2cbbd723b4f4e29e054ae62efae47 (diff)
downloadFreeBSD-ports-56508790661a613656aceb386dc90f9c9f3a09cf.zip
FreeBSD-ports-56508790661a613656aceb386dc90f9c9f3a09cf.tar.gz
Run 'load_rc_config' command earlier in the rcNG launcher script
PR: 86032 Submitted by: Julio C. Perera R. <jcperera@azul.gl>
Diffstat (limited to 'www/tomcat55')
-rw-r--r--www/tomcat55/files/tomcat.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/tomcat55/files/tomcat.sh.in b/www/tomcat55/files/tomcat.sh.in
index dcc46e5..0dca0cb 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"
OpenPOWER on IntegriCloud