On Fri, 2005-03-25 at 13:49 +1100, Voytek wrote:
> <quote who="Matthew Palmer">
> > On Fri, Mar 25, 2005 at 01:07:59PM +1100, Voytek wrote:
> >> if I alter httpd.conf, will the alterations get picked on log rollover
> >> restart ?
> 
> > As far as I can tell, the apache config will be reread on reload after a
> > log
> > rotation.  The wisdom of relying on this course of action, however, is
> > questionable: if you have a problem in your config, you may not have an
> > apache server for a few hours...
> 
> yes, I realize that.. however, I'm just talking about adding another vhost
> .conf file, not really altering apache setup
> 
> it's on a couple of ocassions that restarting apache to relaod config has
> given me grief (there were no errors in httpd.conf, fwiw, just, shutting
> apache seemed to have caused unrecoverable problem.)

In which case you're still better off issuing /etc/init.d/apache reload
when you make the change - if it's going to have an 'unrecoverable
problem', better that it do it when you're around than at some strange
hour when logrotate runs and you're sleeping.

J. 
-- 
Jan Schmidt <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to