Subject: server start order
To: None <netbsd-help@netbsd.org>
From: Andrew Gould <andrewgould@yahoo.com>
List: netbsd-help
Date: 04/06/2002 17:33:55
Hello,

How do you control when a service is started during
boot up?  Does it matter if a database server is
started before the inet daemon (that is, not with
"local" services)?

Background:

I have completed my first installation of NetBSD.  I
have compiled and installed PostgreSQL 7.2.1 (I need
version >= 7.2 for tables without oids) from source
into /usr/local/pgsql.  There was a startup script for
the FreeBSD port in the contrib directory; so I edited
its PATH line, copied the file to /etc/rc.d/pgsql and
made it executable.  The database server starts prior
to what bootup describes as "local" servers such as
apache.  In fact, it starts prior to the inet daemon. 
Does this matter?  (The server appears to start okay
on bootup and stop during shutdown.) If it matters,
how do I control when it is started?

Thanks,

Andrew Gould

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/