Date: Mon, 12 Sep 2005 22:00:48 GMT From: "Julio C. Perera R." <jcperera@azul.gl> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/86032: Bug in RCng stratup script ${PREFIX}/etc/rc.d/jakarta-tomcat55.sh Message-ID: <200509122200.j8CM0maS039625@www.freebsd.org> Resent-Message-ID: <200509122210.j8CMA3cC014862@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86032 >Category: ports >Synopsis: Bug in RCng stratup script ${PREFIX}/etc/rc.d/jakarta-tomcat55.sh >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 12 22:10:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Julio C. Perera R. >Release: 5.4 >Organization: Azul Ltda. >Environment: FreeBSD desdemona.azul.gl.local 5.4-STABLE FreeBSD 5.4-STABLE #1: Sat Aug 20 12:40:37 CLT 2005 root@desdemona.azul.gl.local:/.amd_mnt/hades/host/usr/src/sys/i386/compile/DESDEMONA i386 >Description: Call to: load_rc_config "${name}" is made almost at the end of the file, so custom variables especified in /etc/rc.conf have no effect on most of the script. >How-To-Repeat: Add any custom variable for tomcat55 to your /etc/rc.conf, ex.: jakarta_tomcat55_java_opts="-Xms128m -Xmx128m -Djava.awt.headless=true" Go and check it doesn't have any effect on the call to JVM >Fix: Simply move the line saying: load_rc_config "${name}" above the variables processing directives, a good place is after the line saying: rcvar=`set_rcvar` >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509122200.j8CM0maS039625>