Source-Changes archive

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

Re: CVS commit: src/etc



"Jared D. McNeill" <jmcneill%invisible.ca@localhost> writes:
> On Mon, 9 Jun 2008, Perry E. Metzger wrote:
>> Why is replacing a reference to an actual pkgsrc rc.d file with a
>> non-existent "/local/webapp/apache-tomcat-5.5.26/bin/startup.sh" that
>> NetBSD does not, in fact, ever create, a "more up to date" example?
>
> Aren't we supposed to use rc_rcorder_flags in rc.conf (or copy the
> examples rc.d scripts to /etc/rc.d) instead of starting them from
> rc.local, which loses all dependency information?

Yes. However, the example is at least a "realistic" example. One could
come up with other realistic examples if one wished, but this one
isn't. Another possibility would be to make it into a truly generic
example, vis:

#if [ -f /path/to/daemon ]; then
#      /path/to/daemon arguments
#fi

and I wouldn't object to that at all. The thing that ad put in is
neither generic nor aesthetic nor (for most users) realistic.

Perry


Home | Main Index | Thread Index | Old Index