Sorry for an empty message.

On Wed, Sep 07, 2011 at 08:51:06PM -0400, Nick Holland wrote:
> 1) system daemons must have a corresponding <daemon>_flags variable
> defined in rc.conf.local.  All the files in /etc/rc.d are executed at
> boot, only the daemons named with _flags variables actually "stick" and
> run.  The idea is, if you want the daemon to start at boot, you want to
> know that all the pieces are in place for it to happen at boot,
> otherwise, just start the process manually (as you did)

Thanks! Adding

httpd_flags=""

to "/etc/rc.conf.local" made httpd rc.d script run.

> 2) rc_scripts is history.  It's now "pkg_scripts" for packages, and has
> nothing to do with system daemons at all.
>    * pkg_scripts controls packages
>    * rc.conf.local controls daemons included with OpenBSD

On my system "/etc/rc.conf.local" contained "rc_scripts" entry and
"/etc/rc.d/httpd" file. I thought it could be started as all the other rc.d
files...

Anyway, now I don't have to keep httpd in "rc_scripts", do I?

-- 
Dmitrij D. Czarkoff

Reply via email to