FAQ 10.16 - Apache log rotation

MK public at kubikcz.net
Sun Jun 11 05:47:33 PDT 2006


Hello to everyone

I followed help from OpenBSD FAQ 10.16 for Apache log rotation in chroot 
environment, but I think that in FAQ is a mistake.
There is advised to use command: apachectl stop && apachectl start
Try it and you get:

 sudo apachectl stop && sudo apachectl start
/usr/sbin/apachectl stop: httpd stopped
/usr/sbin/apachectl start: httpd (pid 27705) already running

In my opinion it must be used simple script which checks whether are httpd 
processes really down and after that issue command for apache start. I wrote 
it, nevertheless I'm currious why is in FAQ this statement which does not 
work.

Thank you for all your replies.

Bye MK 



More information about the Openbsd-newbies mailing list