On Thu, Sep 8, 2011 at 4:15 AM, Dmitrij D. Czarkoff <czark...@gmail.com>
wrote:
> 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. B All the files in /etc/rc.d are executed at
>> boot, only the daemons named with _flags variables actually "stick" and
>> run. B 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. B It's now "pkg_scripts" for packages, and has
>> nothing to do with system daemons at all.
>> B  B * pkg_scripts controls packages
>> B  B * 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?

As you're on current then you read this  for sure, right?
http://www.openbsd.org/faq/current.html#20110707

Not sure if you read that
http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8 , but
there's everything described including info that system daemons (like
httpd) are started via
http://www.openbsd.org/cgi-bin/man.cgi?query=rc&sektion=8&arch=&apropos=0&man
path=OpenBSD+Current
and not via pkg_scripts.

So instead of guessing try to use documentation.

>
> --
> Dmitrij D. Czarkoff

Reply via email to