pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: apache-tomcat rc.d script broken



On Tue, 24 Jun 2008, Geert Hendrickx wrote:

The rc.d script shipped with pkgsrc/www/apache-tomcat55 is broken:

# /usr/pkg/share/examples/rc.d/tomcat onestart
$tomcat is not set properly.

For some reason, the rc.d script itself checks for the value of $tomcat (if
checkyesno ${rcvar} with local checkyesno() function), while there is rc.d
infrastructure to do this, which also allows to temporarily skip this check
(onestart).

Is there a reason why the apache-tomcat rc.d script does this differently?

        The script was originally copied from apache-tomcat5, so that
        is a reason, if not a reason to leave it as it is :)
--
                David/absolute       -- www.NetBSD.org: No hype required --


Home | Main Index | Thread Index | Old Index