diff options
author | hq <hq@FreeBSD.org> | 2005-09-14 20:30:23 +0800 |
---|---|---|
committer | hq <hq@FreeBSD.org> | 2005-09-14 20:30:23 +0800 |
commit | 56508790661a613656aceb386dc90f9c9f3a09cf (patch) | |
tree | 7ee7096ed773782ed82009cd26ff55b420f3d577 /www/tomcat7 | |
parent | 9742c9ddbbf2cbbd723b4f4e29e054ae62efae47 (diff) | |
download | freebsd-ports-gnome-56508790661a613656aceb386dc90f9c9f3a09cf.tar.gz freebsd-ports-gnome-56508790661a613656aceb386dc90f9c9f3a09cf.tar.zst freebsd-ports-gnome-56508790661a613656aceb386dc90f9c9f3a09cf.zip |
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/tomcat7')
-rw-r--r-- | www/tomcat7/files/tomcat.sh.in | 3 |
1 files changed, 2 insertions, 1 deletions
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" |