On 08/28/12 07:25, Wesley wrote:
> Thank you very much.
> But i don't want to have it at startup. It's why i didn't put this line 
> 'httpd_flags=' in /etc/rc.conf.local
> I was testing radicale package, the famous caldav server.
> Now i understand better, why it doesn't work. And in my case, 
> 'apachectl start' is enough.

not only "enough", but correct process.
Startup scripts are used to create/emulate the system boot environment.
 If you just want to temporarily run a process, run it, as you did.

Now, for proper system admin, you really should reboot your machine
after changing the config to make sure you changed the config properly
(and it comes back up without you playing "Super Admin", rushing in to
fix it after a reboot), but these scripts can minimize the reboots.  If
you think you have properly activated a daemon, and yet "/etc/rc.d/bla
start" doesn't work, you can be fairly sure it won't work on reboot, too.

Nick.

> Have a good day.
> 
> Regards,
> 
> Wesley.
> 
> 
> Le 2012-08-28 15:04, Nick Holland a écrit :
>> On 08/28/12 06:34, Wesley wrote:
>> # echo 'httpd_flags=""' >>/etc/rc.conf.local
>>
>> and try again:
>>
>> # /etc/rc.d/httpd start
>> httpd(ok)
>> #
>>
>> ta-da!
>>
>> Curiously, this exact example is in the FAQ:
>> http://www.openbsd.org/faq/faq10.html#rc
>>
>>
>> Nick.

Reply via email to