Subject: Re: unable to get processes to start from /etc/rc.conf
To: None <netbsd-help@netbsd.org>
From: Mehul Sanghvi <mehul.sanghvi@gmail.com>
List: netbsd-help
Date: 05/23/2005 15:06:32
On 5/23/05, Jukka Salmi <j+nbsd@2005.salmi.ch> wrote:
> Mehul Sanghvi --> netbsd-help (2005-05-23 11:39:25 -0400):
> >     I have installed packages from pkgsrc, apache and postgresql in
> > this particular case,
> > and I am unable to get them to startup at boot time.
> >
> >     I have apache=3Dyes and postgresql=3Dyes in the /etc/rc.conf file.
> > /usr/pkg/etc/rc.d/apache
> > and /usr/pkg/etc/rc.d/pgsql both exist.
>=20
> The scripts need to be in /etc/rc.d. Alternatively, you could set
> rc_rcorder_flags and rcshutdown_rcorder_flags to contain /usr/pkg/etc/rc.=
d
> and keep the scripts there.
>=20
>=20


In my /etc/rc.conf:

     rc_rcorder_flags=3D"/usr/pkg/etc/rc.d/*"
     rcshutdown_rcorder_flags=3D"/usr/pkg/etc/rc.d/*"

I also tried it without the "*" as well, but in neither case did it work.

My solution was to add stuff to /etc/rc.local and /etc/rc.shutdown.local

Thanks for the help though.

cheers,

     mehul



--=20
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com